Article View: linux.kernel.netdev
Article #5712Re: [PATCH net] ipv6: account route exceptions to the netns of their dst
From: patchwork-bot+netdevbpf
Date: Tue, 20 Oct 2026 20:50
Date: Tue, 20 Oct 2026 20:50
29 lines
8955 bytes
8955 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 16 Oct 2026 11:15:56 +0200 you wrote:
> rt6_insert_exception() and rt6_remove_exception() update
> rt6_stats->fib_rt_cache of dev_net(rt6i->dst.dev), but the device of an
> exception dst can move to another netns while the exception is still in
> its bucket.
>
> This happens when the bucket is flushed from an RCU callback, for
> instance from nexthop_free_rcu() for the nh_info of a replaced nexthop,
> whose exceptions still point to live routes. If the device moves to
> another netns before that callback runs, the decrement hits the other
> netns, whose u32 counter underflows in /proc/net/rt6_stats, while the
> counter of the original netns never goes back down.
>
> [...]
Here is the summary with links:
- [net] ipv6: account route exceptions to the netns of their dst
https://git.kernel.org/netdev/net/c/8ff017b891e8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179252940578.202014.14262102316114186364.git-patchwork-notify@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-349568-linux-kernel-netdev=dewy.ruReferences:
<20261016091556.2750902-1-edumazet@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-349568-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] ipv6: account route exceptions to the netns of their dst Date: Tue, 20 Oct 2026 20:50:05 +0000 Organization: Usenet Network Message-ID: <179252940578.202014.14262102316114186364.git-patchwork-notify@kernel.org> References: <20261016091556.2750902-1-edumazet@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3958478"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:SdP5P9LGSbZnQWD3DTQ/uyKakuw= sha256:YHGyjJweXs0qYsShYkepCTQjNjAPpDk0D4YKw56Y8XQ= sha1:5YcbkYcDWGrk2Y56x9zJk9sBkgY= sha256:XMGu3nFV00vdxDufFOIL5Htzzoi390d176x7DQq7Bm0= 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 4148E110E45; Tue, 20 Oct 2026 23:54:20 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.729 X-Spam-Status: No, score=-3.729 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.329, 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 j4124A-7LVYY; Tue, 20 Oct 2026 23:54:16 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-349568-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 5DB34110E36; Tue, 20 Oct 2026 23:54:08 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id BD2322E562; Tue, 20 Oct 2026 20:50:08 +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=1792529408; b=CtzZbgOLR3MIg9sNh30d9zwLWDYpSo50YVwcHe+ix9ydCmPmFExpBDkVkRVueORz5zqj w5nT2JGQwBh1jlWVdvid0q05f3hZwO8zhJZQBzo10mGNQmmuVKAR5oyZUWu25HSocGpDi JxaAiyLMl7n6Eoax3e3sD0IcIj5h8sUM5BPgJz6kg8F08vUy8gY9KoU9P65zclqs9g30e 8vF9ZJjqhC1d9yCPEOF6HDHC4TUHxRjWp0bKwhG3/PWdKA5tjrdNwJAoDTnnwviBwls0h Tf70xopNBBzSsN/hdCJo5K7M3YGVcWMnPv33dzW5ao9G8nZQRtJ2gWSZaNFMHWs1SMw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792529408; 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=HOr2sSGtDvuyubDx7gjU8mlKWmyyBpjlV++4gXMLlq0=; b=DYHln+eB5CYGh5Az5/V+7UfDu+ltn1tWHUMnbcx5isYTSrR2/Xo9xWJ1AAt176aCc+G9 ciDtu0FHZaJgFHui1gnJEF/56Y9Qfq2rTIE2LRB8I7UNSd7EQEED8JjhJdxIJZEHycIQ3 Y+0HT7WfpoKkPPiik5xtDAre2iNQWOn1QIb5f0GmaVBDcNeUupkGc7eP5pLauphcZEG4D hCPkpmRhLOE0d0EL3i/krqm2kGqX5CuB0FHOedOArWG00ZK9bbett2dkGkwE+LId16dHt AUS0ETtw/50set8YkbQlBZQTfO110m270KMdQhcxPTzge1iH+oYvV/Eo8aPVKSAK2Ew== 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="IX+0D+f/"; 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 93798606A322; Tue, 20 Oct 2026 20:50:08 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=IX+0D+f/ 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=1792529407; b=0ZwqzuwVdVh0mP2FpV0YKlqRZyzbIGVjBJks3SdGmn/6i7vvewFZHkQGwU9jyXL9Q03b f6FiBphVxTlrWy5PIqACR97qjz36cYv/S3L9EwPT2f9c2Lwua5nePt2grNcz7enkL9RxN fcrpZ4iNQm0slQxB9O0BKjmmaasZ0OWAo5G6wTI7mtyzM9kG6Vur9T4mYHwtb69a9M+rI mSd4M9Bf8yRKVxtvJotoLpXQITXFOqZQae8FXnrFutqI4RpW750IlWpkuKVuvo5cBesAJ zrbXIEawMofd8lVaoar6pHQrO2yNRSwR51Od/2z/Iz/Pc54VqomWOMDHWGTej3+kRMw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792529407; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=HOr2sSGtDvuyubDx7gjU8mlKWmyyBpjlV++4gXMLlq0=; b=bCr30r3MnpAjaHof0vCJUdfVPJC/z0Oa+nq9lqtCwV+O/+mm5GQeFaebSJWzmTHkcmTo 0933e84jO0jHeO91zXKo2Wwkp94mqOMYmOdqzfsPOR0VQkLWZcQOj305afe6coLkwpakB /ErVS2QCH02nYHMTqZCaX6cMMi6WtfmHJOTnglIZGvWud7OjEd+KhPSPHFBaIvhWzXAPJ 6VQOA+ZxCIRj8Dosqn5D9VyPqr8d7eNpKW9LY1W8uLRjEAzFDWcF88i+w8/5qh0pKMVXP bObs6j1XSrTke7TCkaYfrjVR7/QK+k/Y+7xkaMl5qyhwcpUU++4JdjetP+6k83Kw3Bw== 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="IX+0D+f/"; 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 704D3606A31A for <netdev@vger.kernel.org>; Tue, 20 Oct 2026 20:50:07 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0874A1F000C9; Tue, 20 Oct 2026 20:50:07 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792529407; bh=HOr2sSGtDvuyubDx7gjU8mlKWmyyBpjlV++4gXMLlq0=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=IX+0D+f/3ZqjQUJr92W71AVTzLdGNs+Y/FY1pLICv/I4eYZDffZqOkZGumZNZQE/1 MVG/pschgXTc04No6m3NjJ9eN48nBWb6esfTDPiexhBoTEYqMux7gfokYFX+PraqjB ZLaJb9az/0EMD+C2vAw4WrZFocu3OkXomq17oZtcB/1SVgs0pFVVNySWQcdGMv0xpF 3qZzGL12naBtzHR/Zk60fp510ri2pTnc0dSXMg2J3ZP8VHTBpMdEQgw1Kks9dlmg/B H+WnY4l91wQiIuCeSM3j94RDPESX58VtJ68/4i54k+Hb+nEVFje8mlfi+JRsZ4a14/ rqZ8+1oPj3nmQ== 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 F180C3809A09; Tue, 20 Oct 2026 20:50:06 +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: <20261016091556.2750902-1-edumazet@kernel.org> X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, odys.yuan@gmail.com, kuniyu@google.com, dsahern@kernel.org, idosch@nvidia.com, netdev@vger.kernel.org