aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorZhengchao Shao <[email protected]>2022-08-15 02:46:29 +0000
committerJakub Kicinski <[email protected]>2022-08-16 02:58:30 +0000
commit5b22f62724a0a09e00d301abf5b57b0c12be8a16 (patch)
treec85cc206a3114fd1fcfb9e6e5db7457c24a73e6d /drivers/net/ethernet/intel/ice/ice_lib.c
parentnet: moxa: pass pdev instead of ndev to DMA functions (diff)
downloadkernel-5b22f62724a0a09e00d301abf5b57b0c12be8a16.tar.gz
kernel-5b22f62724a0a09e00d301abf5b57b0c12be8a16.zip
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 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions