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

[email protected]
Newsgroups org.kernel.vger.netdev,org.kernel.vger.linux-kernel
Message-ID <178589460589.3871126.9086068460518250575.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <[email protected]>:

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.