summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMinhong He <heminhong@kylinos.cn>2026-08-03 17:00:12 +0800
committerJakub Kicinski <kuba@kernel.org>2026-08-04 18:58:06 -0700
commitb16bab325801c7be004222cad0ae296aa5982e79 (patch)
treead86eaf915aad7024bfab37ac888faa2a826fcee /tools/perf/scripts/python/bin
parentac072a89cba261fc1f7dd31b633d15c460323699 (diff)
net: bonding: check register_netdevice_notifier() error in bonding_init()
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. 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 <heminhong@kylinos.cn> Acked-by: Jay Vosburgh <jv@jvosburgh.net> Link: https://patch.msgid.link/20260803090012.142638-1-heminhong@kylinos.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions