Thread (2 messages) 2 messages, 2 authors, 6d ago

Re: [PATCH net v3] mctp: check register_netdevice_notifier() error in mctp_device_init()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-07-23 17:11:19

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Mon, 20 Jul 2026 15:25:18 +0800 you wrote:
mctp_device_init() handles errors from rtnl_af_register() and
rtnl_register_many(), but ignores the return value of
register_netdevice_notifier(). If notifier registration fails, init can
still return success while the module is only partially initialized.

Check the notifier registration error and fail module init early.

[...]
Here is the summary with links:
  - [net,v3] mctp: check register_netdevice_notifier() error in mctp_device_init()
    https://git.kernel.org/netdev/net/c/d9a33cadc70a

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help