summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorMinhong He <heminhong@kylinos.cn>2026-08-03 17:00:02 +0800
committerJakub Kicinski <kuba@kernel.org>2026-08-04 18:53:35 -0700
commitac072a89cba261fc1f7dd31b633d15c460323699 (patch)
treea8f027d79b378d47779cccbb24fad9920f1409e0 /tools/perf/scripts/python/bin/stackcollapse-record
parent82167f2f0fdec3ce2c418b2dd35408ba74b1f6e3 (diff)
net: vrf: check register_netdevice_notifier() error in vrf_init_module()
vrf_init_module() ignores register_netdevice_notifier() errors and continues module initialization, which can leave VRF loaded without its netdev notifier registered. Check the error and fail module initialization early. 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> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://patch.msgid.link/20260803090002.142453-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