Article View: linux.kernel.netdev
Article #24684Re: [PATCH net] ipv6: reject released nexthop object routes in ip6_dst_check()
From: patchwork-bot+netdevbpf
Date: Mon, 30 Nov 2026 16:10
Date: Mon, 30 Nov 2026 16:10
30 lines
9107 bytes
9107 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@google.com>:
On Mon, 23 Nov 2026 01:59:13 -0500 you wrote:
> A per-cpu IPv6 route through a nexthop object records the fib6_sernum of
> its netns, and ip6_dst_check() accepts it as long as that value matches
> the fib6_sernum of the netns of its device, without looking at
> dst->obsolete as it does for per-cpu routes without a nexthop object.
>
> When such a route is released with dst_dev_put(), for example when its
> nexthop is deleted from a group or replaced in place and the old
> nexthop is freed, it is pointed to blackhole_netdev, which belongs to
> init_net. For a socket in init_net the recorded fib6_sernum stays
> current until something else changes the IPv6 routes there, so the
> socket keeps sending into blackhole_netdev: send() succeeds and every
> datagram is dropped.
>
> [...]
Here is the summary with links:
- [net] ipv6: reject released nexthop object routes in ip6_dst_check()
https://git.kernel.org/netdev/net/c/86b669b1d3f0
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179605501549.3403811.1796770292058043171.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374303-linux-kernel-netdev=dewy.ruReferences:
<20261123-bug-net-ipv6-dst-check-released-v1-1-769d320a2470@linux.dev>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374303-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] ipv6: reject released nexthop object routes in ip6_dst_check() Date: Mon, 30 Nov 2026 16:10:15 +0000 Organization: Usenet Network Message-ID: <179605501549.3403811.1796770292058043171.git-patchwork-notify@kernel.org> References: <20261123-bug-net-ipv6-dst-check-released-v1-1-769d320a2470@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1464681"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:6Mbl/GSHFZNxz8MRaK8vnAovJ8M= sha256:48ET5pyBJYOIfyIBTiJgAh3aRzRrdr6P7UZJCQi5IUM= sha1:jUWnR5Uv9UdVZGlapsVo2x1Xf+A= sha256:EK/QuxTF8ytEs9bUJUuKNqVekVuU2wujF2qRjdMSQPs= 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 94FAD125FF4; Mon, 30 Nov 2026 19:11:05 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, 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 p3gqkzDtiDDu; Mon, 30 Nov 2026 19:11:02 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-374303-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 2329D125FF2; Mon, 30 Nov 2026 19:10:54 +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 ED6D02C41B; Mon, 30 Nov 2026 16:10:21 +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=1796055018; b=oo+JuQRSmQ+xT7bpNBWLgVGg/lw0Mi3WBa+YlVAmDuycVQiot2AOxOq2LT2bNdE7nybN +j/76eoEZ3M0d5n7y7xfTmECHNFDEDlUT9WJDf2rU8GTgsi5MpMvQWtgEeT12ktYbyVC5 5uv7HFBhdRZxtxRLaabUmCmtYbivLzegJY6YbL5UVZKGYZ8kWW2bLnmf3i4+QN53M1tHi so6oklHrWzfAlqLEYoIxEsIKRsLI9p25RCEm1NWxxtWimnQahnQAHRjXGVc/GJsc9nMpN LDhQRzSHxRgoConT8vJoXYTnG87CVQAAAHth5PN1LF83f7Q0mKUGzC4oE0qaCWx+Klw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796055018; 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=7cYS2XyFm4N5vLCcobNnaH8NnlnKxyfMg5wn0LxiBVM=; b=iZfAVmpEqp1nww5bWkQ2Ry3f5GusPZV/mPRBCz/sSwyOttqRXh3t3qJZvIYXq1ZvQ/ss EJfPZBdekQ1/7ngOfShbbNO1Y7//ucFI/JyPnrKpBXNYGYlzFzlMQIql38zRjLWQl9Fni vMkflsFJZUNQJT5r7+9lLBYeyOF9MWXkIw86bzd6Mira58nRrTyN3uhCrEbBFc3axxAg6 bDEW/zNUnKgdcwfYfIHk6yO8eFOVoHYIjmcKKQ6+3b+YMuF9otfRuIPBdEl/ycPo6Gllf E6ijA0cn9dOSLX83LdCSRGfmfGgOquswsJBD4PuLcEH6p8DogvMlQz8IMWEyI7AIUlQ== 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=meF4xGpf; 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 2286A606A6BA; Mon, 30 Nov 2026 16:10:18 +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=meF4xGpf 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=1796055017; b=xrjqBZTNnwne7zVmm8U16czDFihDxY6ZNQBM7bPvOWnYcOqr7ukU6kTcO1H3+sOJid8Q k7N7ztTekcG4y1IP3whNJtcuqj2ttnsB5ufsjJ7qo5JOUQyc3gRIBoaoUBbbSH+N1EFNv 2fZTuZr+IUKYvCwCTRkWvVp2/j7XD4Yb4lUyaIwvjkiXK/iAMGpnR348WBE2VErmaaZAS XJCrnEKK0WjqzT++ocsQuEJ7fTWzae5u6RIBM6LxP+Ceg3+QuYF+0rmDIYeQ/EaquO295 pRUTUxpohMSFf8APjTO9sa+0jGJQD6RxCdHTpXluGhfirf7V+AdR1t8MpiICg1l1fFQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796055017; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=7cYS2XyFm4N5vLCcobNnaH8NnlnKxyfMg5wn0LxiBVM=; b=k6jw6LAGlHzzXURnIj+nKwng93w9js49SvibeLnAPSU1fz/z+wM24EYnVNBSBHKPJje1 CoXL+eRhPMddXAhCmZQVt/vfDqJwztm0t0MN2STYbKQKXPQIuZQFakO524INTAGSecbsy dlviltjAZeIHKlMreUfUfExde1EzzDV9rUI/tQV2lNRD0xI7er9mSC72HkChLxcoOo0wc EdzZyuKn3IO2jMeoqbO96oIRV85d35lGeCsoNmwUizRFFvPAA83yDds/iMIyo4fNF6SNy G6aqciHzpgBFLVbhRpoVzX/blJO3FtUe3QDM3gLysRwe28mxghDEGltgkB2IeVjvWHg== 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=meF4xGpf; 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 4445F606A6B6 for <netdev@vger.kernel.org>; Mon, 30 Nov 2026 16:10:17 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 020611F00939; Mon, 30 Nov 2026 16:10:17 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796055017; bh=7cYS2XyFm4N5vLCcobNnaH8NnlnKxyfMg5wn0LxiBVM=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=meF4xGpf7JdGE0B1n2obN1Rlylv0b8e7gvOnrKeSj2GqIMU5RLSdSoZqLKbau9F+T Q4SAShFuc+22HSR3bEESnVeHchbNDqqg/4xy/aPPLyesEsv5awY6uLn78R75sSw4yv p9YBRdkcPzrM3LB0OQ2Lv9Rl5oZ4uTWcu01xl1Q7Wc3JDN53NT7iLC+QORsHMfR6qg xcPyrRgpzv3Iwau+kzQwZl2rqZJAXlYm7E+h7/7YpePcrECFjc3SlxTqGmBJr7/P0F Ouj3ftyzrrNTDF8l6pWNqdzvkhUXkC2Sr1AoAAlRlJE4jnQILMWHtloZ4+AsVJJpSt g3p9oJnYlho4w== 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 EB98839E4DAB; Mon, 30 Nov 2026 16:10:16 +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: <20261123-bug-net-ipv6-dst-check-released-v1-1-769d320a2470@linux.dev> X-Cc: dsahern@kernel.org, idosch@nvidia.com, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, willemb@google.com, horms@kernel.org, razor@blackwall.org, netdev@vger.kernel.org