🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3656

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

#3656
From: Jakub Kicinski
Date: Thu, 15 Oct 2026 17:34
9 lines
6164 bytes
On Thu, 15 Oct 2026 10:07:06 -0700 Kees Cook wrote:
> 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"... 

:) Ack. Just missed today's PR but looks like this is 2 releases 
old so not _extremely_ urgent. If you think it is we can also ask
Linus to take it direct
Technical Details
Message-ID: <20261015103410.15ae1b8e@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346857-linux-kernel-netdev=dewy.ru
References: <20261015165959.i.798-kees@kernel.org> <202610151006.E2F587A60@keescook>

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-346857-linux-kernel-netdev=dewy.ru
From: kuba@kernel.org (Jakub Kicinski)
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:34:10 -0700
Organization: Usenet Network
Message-ID: <20261015103410.15ae1b8e@kernel.org>
References: <20261015165959.i.798-kees@kernel.org>
	<202610151006.E2F587A60@keescook>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="2581288"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:cBpVh0gzrv5n0rQsv175tTDbhYI= sha256:wCRDvOYUlalSCOSerDLarDX6OwWZ16j4ZQt2LsBYc+0=
	sha1:BmUdAuNs0zpPcBjwX6A9kC+5m0w= sha256:kotSie1moBMDx19U16QBWeVIhWCoyickoi82sYxKmKk=
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 AFDDC110371; Thu, 15 Oct 2026 20:34:40 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.74
X-Spam-Status: No, score=-3.74 tagged_above=-9999 required=6.31
	tests=[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,
	RCVD_IN_DNSWL_MED=-2.3, 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 wAk_hKXiNt_b;
	Thu, 15 Oct 2026 20:34:34 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-346857-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 2556811035E; Thu, 15 Oct 2026 20:34:25 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sto.lore.kernel.org (Postfix) with ESMTP id 53073600EC6; Thu, 15 Oct 2026 17:34:23 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 823B754DADC;
	Thu, 15 Oct 2026 17:34:21 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UiJkGwXl"
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 ADED853D9E8;
	Thu, 15 Oct 2026 17:34:12 +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=1792085661; cv=none; b=JWeUGSkNxC6RNAQus1QliKnaj3TJlcgaRts1gRzOLk8JosM5hNiGqNGNxRFQwtXExut8FurLCVRd8PdFyFdJmvViLPqSnT4Mc5pL2kO0+o4ok2W8fpCk9tijrvrksnZnuD3Ktvc5wEktBs6qNvWPJ7ivjdht5kwjxqrNvcMsft8=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792085661; c=relaxed/simple;
	bh=epjlmeoGpijaMuj9xc2qnFeAOdlhiSgRr47ilrUJuMo=;
	h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:
	 MIME-Version:Content-Type; b=Kjcks3hO9HtXt+E+xrXItbDGMqx0K+e6A/m1gc9e3LgrNOssEn/hBklQwjZW/ATsz9IIq+LP6Pp1kfu2lLy4Ti7VnA+blcuoLReARtzIwmYZlPqZkMsJphFgif/6XLGgVyfzw2aaiN1LYEI0Vy8VekwhpvU9tPaLlltIpGTqJGg=
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=UiJkGwXl; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C1161F000C5;
	Thu, 15 Oct 2026 17:34:11 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792085652;
	bh=6SLE0Fy67GOA2mayZg94htIlK7vPp6C0A4dq0yw0XmE=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=UiJkGwXluuOqrdSZjy62Zr7hB3n+g5I81o2ehLfnOp7+cbkSb4VDKizrwE6s6iJFH
	 pfbY1cjVa2Y8YYd4hGBRhdXFTJKcq045m5kHAMAPij3t1pwt8SvhCSsEB4GzbMpF/P
	 C/me63nagkLM6OF3XHLSxlkFr+AKuMeWGSC4b6uo+PcacNGELU1R1IGSpz8OI0VpW9
	 u9ucmPBFluN0C++mhblbfmSRjT+1uuSYebqEvy6eqhtJDqJRKrFkIA/AkqwF7XYMet
	 558gPskr0K/InX2Jkgy0DMR0bMQJLm8LycPaYk/kWGLR7e7GRxcbiCmxn5i6b7n6TH
	 82h6dRUCnSnbQ==
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-In-Reply-To: <202610151006.E2F587A60@keescook>
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>