Files
Minhong He e43e9d7cab net: lapbether: check register_netdevice_notifier() error in lapbeth_init_driver()
lapbeth_init_driver() ignores register_netdevice_notifier() errors and
always returns success, which can leave the module loaded without its
netdev notifier registered.

Check the error and remove the packet type on failure.

This is a future looking check, register_netdevice_notifier()
only fails on double registration or if the registered notifier
itself returns an error.

Signed-off-by: Minhong He <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2026-08-04 18:49:03 -07:00
..
…
…
…
…
…
…
…
…
2026-07-30 16:12:14 -07:00
…
…