diff options
| author | Zhengchao Shao <shaozhengchao@huawei.com> | 2022-08-15 10:46:29 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-29 14:00:01 +0100 |
| commit | 283ee8ce3b31ae857c0d9b29463537c3cdf2df91 (patch) | |
| tree | 38b2dd5e00191a1266b5022227e36984ed4bed78 /sound/sh | |
| parent | 7d993371c1de96c4f58b96791ee40f67b29cb193 (diff) | |
| download | linux-283ee8ce3b31ae857c0d9b29463537c3cdf2df91.tar.gz linux-283ee8ce3b31ae857c0d9b29463537c3cdf2df91.tar.bz2 linux-283ee8ce3b31ae857c0d9b29463537c3cdf2df91.zip | |
net: rtnetlink: fix module reference count leak issue in rtnetlink_rcv_msg
commit 5b22f62724a0a09e00d301abf5b57b0c12be8a16 upstream.
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 <shaozhengchao@huawei.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://lore.kernel.org/r/20220815024629.240367-1-shaozhengchao@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions
