From: patchwork-bot+netdevbpf@kernel.org
To: Qiliang Yuan <qiliang.yuan@linux.dev>
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
Subject: Re: [PATCH net] ipv6: reject released nexthop object routes in ip6_dst_check()
Date: Mon, 30 Nov 2026 16:10:15 +0000 [thread overview]
Message-ID: <179605501549.3403811.1796770292058043171.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261123-bug-net-ipv6-dst-check-released-v1-1-769d320a2470@linux.dev>
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
prev parent reply other threads:[~2026-11-30 16:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 6:59 [PATCH net] ipv6: reject released nexthop object routes in ip6_dst_check() Qiliang Yuan
2026-11-23 7:02 ` netdev-bot+sinfo
2026-11-23 7:05 ` Qiliang Yuan
2026-11-25 14:20 ` Ido Schimmel
2026-11-30 16:10 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179605501549.3403811.1796770292058043171.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=idosch@nvidia.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=qiliang.yuan@linux.dev \
--cc=razor@blackwall.org \
--cc=willemb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox