Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp1135350lqs; Wed, 6 Mar 2024 07:18:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWCh/pM7iquLx4BfvOA+YGRbleNIZivSUfucE5XxgzLtPVLf+XwV3NkC1P0t6afp2TNP9tNphxDkPKApliPK1h88Id14+cyl9/i6HmT9Q== X-Google-Smtp-Source: AGHT+IG1eWw1Y8cfZahq+A6prw9vIrgadjrZyWzD74rOSBMYOM1IDM7qbSQnRX4gI1mSAFx7JziC X-Received: by 2002:a17:906:b059:b0:a45:b492:325f with SMTP id bj25-20020a170906b05900b00a45b492325fmr1916571ejb.13.1709738335198; Wed, 06 Mar 2024 07:18:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709738335; cv=pass; d=google.com; s=arc-20160816; b=A/L5ODWbH2Y/fnY0elbhuOCK/qgvIMdvt9JlGBEaLV11rjxDyq51eaqpakoOTB5XAz GGIdPo+tHKxxmryvkrbeSN+AH+ItAx4FzcwZzLrqupBgLycUSqta4hiM+I/hyEy2fdO6 gs0vYPjEU3XWJEWNcaKz2WUU34HMN8QJiWR8vBncKoCwagyud3wmsBTM17cgz0aymEU5 fiX3FZ+JBYTpJ4U9ZDZhT6pjb89NpD1X3iBQxmEqOHvIZrLN11F5Po+LGkEkWnob2Ij5 oJ/aN2+goIUyf44/C+X/n2wdA2aDjGyAE63ErDzCtmowtVSK5I474q1KodyOI+8dMm/7 f+6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=4nQHqwcFKk6A1dKg92rc2dkhiUlP8/zz88RgvfhMUNU=; fh=WuTBvZhbBbevPSCn1HD9jntzsMwXuhCo1tpN0BVlQ94=; b=ltCmYFsjr9g7qFUq/49SVsuEib9GT28PKgGSIM5LplueOGvkX5S/RUV4iCy6gULL2K FGJFKqHareuV2E7Mz+rLEFZ+P1ZVr1KzEmHxfut8OakDoGqeQo7fCQ+EGFnK3xY4Mw/J AGZP2Zjt+aTZsfSe82zYnOvwxtLGpgJdYCZBDUhT2omLnZ8mJqjNSz1PBSF9Q+YN0po5 NM1AsurU5GCDvRqxLc5evjvWzIe1ff8E/fUux35pfN3OYp6rxOocHBJMwBIrQUFpCf// hwK9PKNk9Imkq+XNiYTK/t9NtBY49U0v/WyYzH2132uxEfIjgYZBBWu7I0YjvPv5m04d 9BNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yqh9LnU6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-94126-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94126-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n25-20020a1709061d1900b00a4309fb085esi5812079ejh.281.2024.03.06.07.18.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 07:18:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94126-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yqh9LnU6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-94126-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94126-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4500B1F296C4 for ; Wed, 6 Mar 2024 15:09:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C796213790B; Wed, 6 Mar 2024 15:07:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Yqh9LnU6" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB9B713667B; Wed, 6 Mar 2024 15:06:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709737619; cv=none; b=ADA7Yt2rgrPRJCQpduSItszwXE56hDhMN4yXPVPLqmRrvBxIdT5CMe5FUE1xCk1oa1K6/7wH36/4p1Gl21QxpBays/TCXb1c8V1qcWjDDbInBs1O5t/RN2cYU/Y/Pd+Ebq/tXssZkOFGBdXhGUZkB7n0jQVteYaWDrsJvXx2XZQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709737619; c=relaxed/simple; bh=SZlyoBAGWRDBRp2u5L70J/RZwbAwTu9tQQtjQCgNUuY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Qz2RzNaUPINzm+I7DK3bHkC66bRkE+5p4XQjM4RbCF3JN4HXRFVLKyzwbHMpmQCNfisVk2dQU93cBroq6AStWRESiZLEN9uTz+bAJwjDfBTFGHQHYNvFPGTnwe7z7kJGWUsVqmN5NpqJEHxL7k+3ODEXULDTv0xKFBuHiKEAxGg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Yqh9LnU6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A930C433C7; Wed, 6 Mar 2024 15:06:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709737619; bh=SZlyoBAGWRDBRp2u5L70J/RZwbAwTu9tQQtjQCgNUuY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Yqh9LnU6jP3h2U+QlbSvrrMk3G4wZm0TEbB1l0+4aCQcd/AqgCiuh9j1Dbxy5tkTt c4FwdhpBO88i6QMd2xLE43VMZYcoRwI3T78Zc41MUEzp4uS4V1SGU3LmPUiNyy5F13 9YOcIlancMLb9GIeDkIIj7BP7Zgu2QO8dO8xNF/0h/xqd/duVujFvFQJwcfgVLPzxu +Uz7se7rG+6GgErhgLji9WRhP58GlzuICcVU0wRhGRmcZVo+7ewBNbd2YdKvvqRKHT ZgybOt2kB4DegGRXLTte8ed3lhksynHbD7dDbwjtYeNN5GpgeTfJIPfzwiDVSt8aqw IDwZWhZblok1w== Date: Wed, 6 Mar 2024 07:06:58 -0800 From: Jakub Kicinski To: Breno Leitao , keescook@chromium.org Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , Andy Shevchenko , "Gustavo A. R. Silva" , netdev@vger.kernel.org, linux-hardening@vger.kernel.org, Simon Horman , Jiri Pirko , Daniel Borkmann , Coco Li , Amritha Nambiar , linux-kernel@vger.kernel.org Subject: Re: [PATCH] netdev: Use flexible array for trailing private bytes Message-ID: <20240306070658.4216fdf2@kernel.org> In-Reply-To: References: <20240229213018.work.556-kees@kernel.org> <20240229225910.79e224cf@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 6 Mar 2024 05:16:16 -0800 Breno Leitao wrote: > I've been looking at some of these embedders as reported by Kees[1], and > most of them are for dummy interfaces. I.e, they are basically used for > schedule NAPI poll. > > From that list[1], most of the driver matches with: > > # git grep init_dummy_netdev > > That said, do you think it is still worth cleaning up embedders for > dummy net_devices? > > [1] https://lore.kernel.org/all/202402281554.C1CEEF744@keescook/ Yes, I think so. Kees, did you plan to send a v2? Otherwise I can put the cleanup on our "public ToDo" list :)