diff options
author | Kuniyuki Iwashima <[email protected]> | 2024-10-08 11:47:35 -0700 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-10-10 15:39:35 +0200 |
commit | d51705614f668254cc5def7490df76f9680b4659 (patch) | |
tree | d727ba8071a9dc4dd6f67905fe87ba70633a4850 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | cba5e43b0b757734b1e79f624d93a71435e31136 (diff) |
mctp: Handle error of rtnl_register_module().
Since introduced, mctp has been ignoring the returned value of
rtnl_register_module(), which could fail silently.
Handling the error allows users to view a module as an all-or-nothing
thing in terms of the rtnetlink functionality. This prevents syzkaller
from reporting spurious errors from its tests, where OOM often occurs
and module is automatically loaded.
Let's handle the errors by rtnl_register_many().
Fixes: 583be982d934 ("mctp: Add device handling and netlink interface")
Fixes: 831119f88781 ("mctp: Add neighbour netlink interface")
Fixes: 06d2f4c583a7 ("mctp: Add netlink route management")
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Reviewed-by: Jeremy Kerr <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions