Re: [PATCH net] net: bonding: check register_netdevice_notifier() error in bonding_init()
From: patchwork-bot+netdevbpf
Date: Tue Aug 04 2026 - 22:10:59 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 3 Aug 2026 17:00:12 +0800 you wrote:
> bonding_init() ignores register_netdevice_notifier() errors and still
> returns success, which can leave the bonding module loaded without its
> netdev notifier registered.
>
> Check the error and unwind prior initialization on failure.
>
> Signed-off-by: Minhong He <heminhong@xxxxxxxxxx>
>
> [...]
Here is the summary with links:
- [net] net: bonding: check register_netdevice_notifier() error in bonding_init()
https://git.kernel.org/netdev/net-next/c/b16bab325801
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html