summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorMinhong He <heminhong@kylinos.cn>2026-08-03 16:59:36 +0800
committerJakub Kicinski <kuba@kernel.org>2026-08-04 18:49:03 -0700
commite43e9d7cabace0307685196114fc5d3ae6669120 (patch)
tree58a56b35240eba09e6bf15600035e35c43a13af3 /tools/perf/scripts/python/bin/stackcollapse-record
parentd13bb65dd2dd0cbfeb8a7aeca9a4afd526eab3ee (diff)
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 <heminhong@kylinos.cn> Link: https://patch.msgid.link/20260803085936.142160-1-heminhong@kylinos.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions