🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3669

Re: [PATCH net-next net] netdev: Hide the netdev_priv() origin from GCC in netdev_from_priv()

#3669
From: Kees Cook
Date: Thu, 15 Oct 2026 17:07
7 lines
5942 bytes
geh, for the subject "net" and "net-next" glitch: I've poked my 
subject-building tooling again, this should be for "net", not
"net-next"... 

-- 
Kees Cook
Technical Details
Message-ID: <202610151006.E2F587A60@keescook>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346852-linux-kernel-netdev=dewy.ru
References: <20261015165959.i.798-kees@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346852-linux-kernel-netdev=dewy.ru
From: kees@kernel.org (Kees Cook)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next net] netdev: Hide the netdev_priv() origin from
 GCC in netdev_from_priv()
Date: Thu, 15 Oct 2026 10:07:06 -0700
Organization: Usenet Network
Message-ID: <202610151006.E2F587A60@keescook>
References: <20261015165959.i.798-kees@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="2593169"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:JpF1OpiJqijiziL3Hc2vVKTxeAg= sha256:L01CLy7qBxfYKBagnPM42bSJqyvjzQWcjk77wQL8xmk=
	sha1:BaYOhEn6izyZ13wEWFcTAUXE/0c= sha256:wIxtBcnqtWqkj9lYEOdEPe1jfZ8Ljzy/XWIbKPOoF30=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 7D33211038B; Thu, 15 Oct 2026 21:32:54 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.34
X-Spam-Status: No, score=-1.34 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id d9Ux4l8wBIIn;
	Thu, 15 Oct 2026 21:32:51 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-346852-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 36382110365; Thu, 15 Oct 2026 21:32:42 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id ECDD2104F12; Thu, 15 Oct 2026 17:07:18 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 8CBDD531630;
	Thu, 15 Oct 2026 17:07:17 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fGdB/70J"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(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 C52173D9DCC;
	Thu, 15 Oct 2026 17:07:07 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792084037; cv=none; b=Mz2tf1Xla8P76zzu6YykkGp7Sx82rTG3y1r08tEhyFKxCxEo8OH8nau6gwefVRxNqdU4uyS4ec3JameJgUdJQOqeYU3zixKWZyCwo76SK3sj9jhyvwvv0fKQJgkHztMXM64PeL/vDw8y1bMBZONcFBPq1Jl+Qb8aD0+i1McOCho=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792084037; c=relaxed/simple;
	bh=knm5sTGCsL01TnJ4ZhNaEWkpxU4c/0Sr70AV9htyH1Y=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=dViOQS4E40563W9Pgei7nU1Muhxc3boAIIyICtEV5VePcfb5o/ipfMC+I526Ir4lFq7oCe1mKzjEjIb9BxmnWKwERP7N8sVzvB9R89RfV+dFfcYBqET9R/BiK2nbROqxQHSmZIc7z+ZsCqq0SLqg4f29q4kYHj6yuKapcxFmGFc=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fGdB/70J; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08EE51F000C4;
	Thu, 15 Oct 2026 17:07:07 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792084027;
	bh=VWkfSRkT/w+lVOCbl0O97VWBKRGnrtBmH8DzMAgCTEg=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=fGdB/70JJ8gmWqUnw6NDgZZ0goLzwn+lUJEbTuIRQbKApZ3NQMoGeOiGaqEMwookG
	 sEV3RBeT7uhuIPufi6BCW074FrQKPCFa/KBM/uWgpW3eAXy2ZYNROEqxOR8cIdxqB2
	 95yjEP57Ppofbe+skjxT0bYMkBjt5W1FvDOWeE9wpMA9KaTug0T0cGvfFino6k4hS5
	 hBr/4KzMyTH3JpbZf63/6IwRXxzyP2hMXrVdQo2gdjUqpwxJY8c9E5OHut6/5qD2dS
	 ZhbXr6WDezUHCz3Y0MTxYRG4i4ALxkVof/YGLk3M4eZgQP+Upx3MhmYOLxBfpTgvy6
	 801XU3qsxQZWA==
X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>, Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>,
	"Gustavo A. R. Silva" <gustavoars@kernel.org>,
	Qingfang Deng <qingfang.deng@linux.dev>,
	Jiri Pirko <jiri@resnulli.us>,
	Brad Spengler <spender@grsecurity.net>,
	PaX Team <pageexec@gmail.com>, Bill Wendling <morbo@google.com>,
	Justin Stitt <justinstitt@google.com>, netdev@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org, linux-hardening@vger.kernel.org,
	Yeswanth Krishna Tellakula <yeswanth@linux.ibm.com>,
	stable@vger.kernel.org, linux-kernel@vger.kernel.org
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261015165959.i.798-kees@kernel.org>