diff options
author | Zhengchao Shao <[email protected]> | 2022-08-15 10:46:29 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-08-15 19:58:30 -0700 |
commit | 5b22f62724a0a09e00d301abf5b57b0c12be8a16 (patch) | |
tree | c85cc206a3114fd1fcfb9e6e5db7457c24a73e6d /scripts/gdb/linux/proc.py | |
parent | 3a12df22a8f68954a4ba48435c06b3d1791c87c4 (diff) |
net: rtnetlink: fix module reference count leak issue in rtnetlink_rcv_msg
When bulk delete command is received in the rtnetlink_rcv_msg function,
if bulk delete is not supported, module_put is not called to release
the reference counting. As a result, module reference count is leaked.
Fixes: a6cec0bcd342 ("net: rtnetlink: add bulk delete support flag")
Signed-off-by: Zhengchao Shao <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions