🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26740

Re: [PATCH net-next] net: use dev_net_rcu() in __hw_addr_changed()

#26740
From: patchwork-bot+netdevbpf
Date: Fri, 04 Dec 2026 05:00
24 lines
8726 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@google.com>:

On Sat, 28 Nov 2026 17:36:39 +0900 you wrote:
> Commit 646cb8868bd2 ("net: add a generation counter for dev->mc
> changes") bumps a per netns counter on every dev->mc change, and finds
> the netns with dev_net(). Not all callers hold RTNL, so this read can
> race with __dev_change_net_namespace() updating dev->nd_net. At worst
> the old netns gets the bump, which is harmless, but the read is still
> lockless and should be marked as such.
> 
> [...]

Here is the summary with links:
  - [net-next] net: use dev_net_rcu() in __hw_addr_changed()
    https://git.kernel.org/netdev/net-next/c/04d969487f83

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179636042614.834438.3963970686254512965.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377070-linux-kernel-netdev=dewy.ru
References: <20261128083639.1404522-1-yuyanghuang@google.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377070-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] net: use dev_net_rcu() in __hw_addr_changed()
Date: Fri, 04 Dec 2026 05:00:26 +0000
Organization: Usenet Network
Message-ID: <179636042614.834438.3963970686254512965.git-patchwork-notify@kernel.org>
References: <20261128083639.1404522-1-yuyanghuang@google.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2679292"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:4OgjSqVzLf/psSDYVzTYGC2n9mw= sha256:2ejMfLmK27bmL8LC7PFSb6w68vUa6q0Pvm5TmTIgnv4=
	sha1:F6JzXyAncSjNWmtVbmmr9sGMZeQ= sha256:8IYZSlZjvu9+jqbPSN7M11KiHkj7eP39I1R17cWcuJA=
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 A5217117B04; Fri,  4 Dec 2026 08:01:01 +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 Hwm91jA8c7q1;
	Fri,  4 Dec 2026 08:00:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-377070-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 25714117B05; Fri,  4 Dec 2026 08:00:50 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 4555E601335; Fri,  4 Dec 2026 05:00:50 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796360428;
	b=0d9ktZjQOE030rPwIo7YJSLD9s28w6FHTTkouaUU8SAWPs+Dfb6aNfpimrX7GU7FTSct
	 tUFPPykra/+w7cUEdM2zTAoOANsYeZ1EMRxxCyteQOtMsI7TUbkIgYKSo4tRc1DoYy7Hm
	 k4kUfsKSSzV43s158jj5Qs40gQQCzcc6WPZXiOtjEPuHU/1P5KapfRiacN+pwg9jMP2JD
	 ESB86SsV3bE5XZy6fLg8te9T3FEECV1nG2RVWzQ7Nvc86aqELvJFsd7lqqX+0Pep+f8Jj
	 Qzi246X3p4Ia8qE933jiW0BUVTSisvfz61G+DcpfyOoiWPr/Q5pQp+pg6Za5Nam2MJw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796360428;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=hp2Z07rK0N7u7NRmpWHKFovFjRG44zJ4p7PQDai/cAo=;
	b=YQepmTfLigsz6gEb56nLvftIRPfCnb1wGG4JkTf2v43QXCwK+80jSfVL13qtiu6Pytcw
	 nKOSFKBYLZFMwA45Cvqc4YncJKPFUEhiwt0Dp6yN/9q3Jedvc9lRaqQzGkihqWUJah39c
	 ozEc4H/tjx/c3Pg0ag5za1XGm34GluKWz+siQohZDW9nfqqt3k0J5u6gnbR+uUq35BhyW
	 9HcxuLeDpgduoDE3smwy4wbBDhfEzGEJzolMkMmggWBqxz1u6zr6HPowVLwmz0BMc4dCC
	 N62qgFyUE7LZPpzAWfmUmkDTAmQ+lOKUgSyQwkPvJlJcFl/hCL9qw7FPiVU444ZO+nw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ojNsKhj9;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id CC54D606A337;
	Fri,  4 Dec 2026 05:00:28 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ojNsKhj9
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796360428;
	b=sKeT3QH/wE6BHm7oY5XuclfrfGhzWjv7L8lZIDysvVX5QYuvYLlBj+SOUfqnGJtplGe9
	 Mp1eBKEyXrZA5gK4amiNNvl+wAZv8fRQ3DdtWvo4qVZ8QDNZlSY043FxIZZG7/qc5LNVz
	 mQzH0k4rCSCS0NtyeDw9zUFFmtcW1xkaUcB/CyNW9juTQbWriYcTXeMB78HliKDYCmxVa
	 oZHUQvnfopxqoVRtdvrMd8BVgMoopr6wQ3K++qfAUi09kIaDUZSVdXnwGglkqwuvLSx0J
	 Oy3aCxmPjQw58lokhdFGCyQ/TKC+kDmbmLN4dbUy6+xXU/5ffz+2WY4+VC4IVDktX5Q==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796360428;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=hp2Z07rK0N7u7NRmpWHKFovFjRG44zJ4p7PQDai/cAo=;
	b=eYK5OoYvTE31vU9icUnE57TIkV0imVs93saWFKzfvQZQZ7A0tix3Uy6J6IQOveCf85b+
	 iRU+14/jcJ4kkm5BslxCanMN2rMTl+JBj9DL5i3oGE07xzFOQiMOlbMDjNPaw7RDv6sWe
	 vIfqXcKY7FjVPPLP9KqvzsAFvW3/cZ1c1mDkYjThVh7/QevyuH1sjGpUNr19qCl3JYwPw
	 WCCvC7bXXckmJkz19Rh5Y7w+jRw+sjIHxlKPvdu4TeA/Yjah8sKf0nufiyKyW4JEA0OKA
	 HA03uqQR0I4UjepBUuGCbvst0Fi5wfA0ve2kMUvcC9OQo6VWhH1W5NqCTgKz5rI3ehA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ojNsKhj9;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id EF06660A262B
	for <netdev@vger.kernel.org>; Fri,  4 Dec 2026 05:00:27 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A15571F00931;
	Fri,  4 Dec 2026 05:00:27 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796360427;
	bh=hp2Z07rK0N7u7NRmpWHKFovFjRG44zJ4p7PQDai/cAo=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=ojNsKhj9/2kn+jJYYpim0D1sf6rKdJsrtWsvmf2W9luHRHnH4PnomQ76+qCSWKp1s
	 DzkGMz3jRZFQ9+vtOy36EHA+L9MDXFxHGNaXuykdpgdbqYLHYlilZog9XupGD0Nwfp
	 dAAz/DFCKW/RQk0TLSF0dN+WX92c0kl2Mn425zzmdy+uSYe/w5bXaxDCNSiDw+uShN
	 J9+Ng5J2i8UA9zxulFG/Izcjf77Pk1visLThtmo4zLNRSxb6VC+5leb+92f4/mQm9s
	 g1BDqmpKuZqLnjTdYj6v/sFz7/tpocvF03Ql37gUZ2UtdtgNqgUyqobe1bYmxhS8Xd
	 RGcQ2cb/ZyLUQ==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 96C8F3924A7A;
	Fri,  4 Dec 2026 05:00:27 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261128083639.1404522-1-yuyanghuang@google.com>
X-Cc: davem@davemloft.net, aleksandr.loktionov@intel.com, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, sdf.kernel@gmail.com,
 netdev@vger.kernel.org