Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp188146rbe; Wed, 28 Feb 2024 17:10:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXUj4wgzT78DsGMrLZVapiNFeLP4onATX5jseprRqrSGzNJdWcc7qb1uGXB/uYjOB07/tej+RgQwGD8IYppPgnSzxZN1jTklx/Bmr65LQ== X-Google-Smtp-Source: AGHT+IFuJEQvgPbT8PLElQUik+LmObGPjOdFaRqUYOnFmB2M06Ebtb/WivuLYsn75vUVG6NETVxv X-Received: by 2002:a05:6a21:1506:b0:1a0:e184:d0e8 with SMTP id nq6-20020a056a21150600b001a0e184d0e8mr1239512pzb.13.1709169027654; Wed, 28 Feb 2024 17:10:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709169027; cv=pass; d=google.com; s=arc-20160816; b=JXen31tUbIEgB8cO/R4mHL8zF/ILZzD4XIXHf5Q1OJoaUGND/rb9z2X7M+ayZivCLu 6+JkB5iq4u+5+Sq2/gTL7Cocl14NnQ2ycKyv6zVqtDOAe8BNxU1OX6ISlDjsT3J5UQz4 W5F1sFLwMnJksfGY+8M82CtLK6iFyZjwSqxRD4LJI0MoGFIJiRUB+15weQRZz53zexoM CuV6ckRInNqYvBs+eXbNmnbm6mF0v05ketQUxtbNV9U1KgiIms5/ULbuQEo8dkRB4OLW dtCU3ZgVd+evmkOCJ0GhhJVNuI64qSNIg2XKNzSzvPHQf9MGTlC3Q4DNYy4OoSM4gahl GF0A== 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=NdtC9d7u3sEQXybM7AiX2xSdyFDfa8MwK1QoVl+fZX0=; fh=3x8ZiP89S/kOM43N1p/VDOwd/9CeM6vZj15tFE5f/z0=; b=lNi8tGUzNJnb3KPayTXm56Via1CRsDqh1hcL2e+djJ/tRLWHJWCgoRrnMSv/z864gf Tnwte+DekWdmQrNk1AMB3Xf3e++NfpjrCac//ppNsc4RPrrABDbVr4JFhaAn/v2+9x5x XHakS8pTCxbyMdlGhafO20pHwOIZrYNPWWsl60wpxmlJwPrK5bIzTfUBqgLYoP0RXLNu jYV9ptX00NiKuSdrSP6qv3JqkEuqDdLRf8Huq5BshHX2zwEPi+4emLLB2IVrh8a9HM2I 7e4y1kdltWqJaCbvybntcgbldIzZ0YHUNV95rrbe/zs7PN3ObcRflDPeHW3FEvlclbbP G0Cg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sMmm8JIO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-85965-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85965-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id e11-20020a630f0b000000b005dbedf04f68si261827pgl.10.2024.02.28.17.10.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 17:10:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85965-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sMmm8JIO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-85965-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85965-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 06A8CB268DA for ; Thu, 29 Feb 2024 01:03:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 24CCE36B11; Thu, 29 Feb 2024 00:57:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sMmm8JIO" 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 34D632DF84; Thu, 29 Feb 2024 00:57:31 +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=1709168252; cv=none; b=Do2/Rjd3QVPc5E/4Ute/+uEWgmil9SnOh/XpYAGfY5BotuFM3sRsOg3+t8qAs6h2tSXcr2nLWXkgDVeqrI/sTTr/bMLkn4Iz8/ncW3klyGOs0/FmkXdzqRvr0CndyYLO8u8ndGxP2i9s+KHzwR/pC2IftoM6nz6U9TsNnXZ28DY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709168252; c=relaxed/simple; bh=9KaT+6S7JZlcb2mqMqAoog9VXZWY4bx0fyUl0UJuoNs=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RK0u2bUcxip1VUCWNqd6xE8ZC4pkP0/UWGM5Y15gyEh5NA98dWiwPSkahq5Lj76bIVbkxd2cc8xNg9jd7TSIL6NqgwJ8H0RVsyyBL1RQ2DIXto7adaHtrPYo/gUToZhcx2IL6wQWky+rIFDU6eQDplzASMOyUvDEnWEfRap/fRM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sMmm8JIO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14B6EC433C7; Thu, 29 Feb 2024 00:57:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709168251; bh=9KaT+6S7JZlcb2mqMqAoog9VXZWY4bx0fyUl0UJuoNs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sMmm8JIOVjqOr3OrT942IjBG7UKaB6xofC8V7MI0361wtXr/2mSCLg/fKaHNzVMV0 27XOpP4pciTtBcLUuvOKPKbt4NCRCZW6SZ4En0fi0cqX1zt1Tf1JOC9s/S2YlCDB5H Sb0+b8KxuZiErmAlyYOyOXgIESUQ4oJTQMD5U55ykiqhCUNAzn4RDGYgyZ+mePa58A N9EaKF6VOJncq8I34SR+Bwj84PBaL3FqbmTqh+6WRpy3Gr3Z5kGXfshMFqVMchr++B K685dDwfg4O7Qk+Si2ZCgMdMCRZNnN50dFN3ewjIbp0CjjHwfJx8idwMFqJBxnA1LN nnlsJXladKNNg== Date: Wed, 28 Feb 2024 16:57:30 -0800 From: Jakub Kicinski To: "Gustavo A. R. Silva" Cc: Kees Cook , Andy Shevchenko , Vinod Koul , Linus Walleij , Jonathan Cameron , Mark Brown , linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-spi@vger.kernel.org, netdev@vger.kernel.org, linux-hardening@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , "David S. Miller" , Eric Dumazet , Paolo Abeni , "Gustavo A. R. Silva" Subject: Re: [PATCH v4 7/8] net-device: Use new helpers from overflow.h in netdevice APIs Message-ID: <20240228165730.3171d76c@kernel.org> In-Reply-To: <653bbfe8-1b35-4f5e-b89d-9e374c64e46b@embeddedor.com> References: <20240228204919.3680786-1-andriy.shevchenko@linux.intel.com> <20240228204919.3680786-8-andriy.shevchenko@linux.intel.com> <202402281341.AC67EB6E35@keescook> <20240228144148.5c227487@kernel.org> <202402281554.C1CEEF744@keescook> <653bbfe8-1b35-4f5e-b89d-9e374c64e46b@embeddedor.com> 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, 28 Feb 2024 18:49:25 -0600 Gustavo A. R. Silva wrote: > struct net_device { > struct_group_tagged(net_device_hdr, hdr, > ... > u32 priv_size; > ); > u8 priv_data[] __counted_by(priv_size) __aligned(NETDEV_ALIGN); > } No, no, that's not happening.