Re: [PATCH net-next v2] ipv4: nexthop: handle errors in nexthop_init()

From: patchwork-bot+netdevbpf

Date: Tue Aug 04 2026 - 21:50:58 EST


Hello:

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

On Fri, 31 Jul 2026 10:52:49 +0800 you wrote:
> nexthop_init() ignores errors from register_pernet_subsys() and
> register_netdevice_notifier(), so a partial initialization can appear
> successful.
>
> Check those steps and unwind prior registrations on failure.
>
> Do not check rtnl_register_many(): for built-in code it panics on
> failure, so the call cannot return an error to nexthop_init().
>
> [...]

Here is the summary with links:
- [net-next,v2] ipv4: nexthop: handle errors in nexthop_init()
https://git.kernel.org/netdev/net-next/c/c0fd47726c94

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