Re: [PATCH v3] ipv6: route: Unregister netdevice notifier on BPF init failure

From: patchwork-bot+netdevbpf

Date: Thu May 21 2026 - 12:01:50 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 19 May 2026 23:03:28 -0400 you wrote:
> ip6_route_init() registers ip6_route_dev_notifier before registering the
> IPv6 route BPF iterator target. If bpf_iter_register() fails after the
> notifier has been registered, the error path currently jumps to
> out_register_late_subsys and unwinds the RTNL handlers and pernet route
> state without removing the notifier from the netdevice notifier chain.
>
> This leaves ip6_route_dev_notify() callable after the IPv6 route state it
> uses has been torn down. Add a separate unwind label for the BPF iterator
> failure path and unregister the netdevice notifier before continuing with
> the existing cleanup.
>
> [...]

Here is the summary with links:
- [v3] ipv6: route: Unregister netdevice notifier on BPF init failure
https://git.kernel.org/netdev/net/c/1341db322417

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html