diff options
| author | 2025-09-30 14:12:35 +0800 | |
|---|---|---|
| committer | 2025-09-30 17:27:39 -0700 | |
| commit | cd9ea7da41a449ff1950230a35990155457b9879 (patch) | |
| tree | 9c9a86597c4702972a6f85f3fd3e4fa90e25a291 /lib/dump_stack.c | |
| parent | net: enetc: initialize SW PIR and CIR based HW PIR and CIR values (diff) | |
| download | wireguard-linux-cd9ea7da41a449ff1950230a35990155457b9879.tar.xz wireguard-linux-cd9ea7da41a449ff1950230a35990155457b9879.zip | |
octeontx2-vf: fix bitmap leak
The bitmap allocated with bitmap_zalloc() in otx2vf_probe() was not
released in otx2vf_remove(). Unbinding and rebinding the driver therefore
triggers a kmemleak warning:
unreferenced object (size 8):
backtrace:
bitmap_zalloc
otx2vf_probe
Call bitmap_free() in the remove path to fix the leak.
Fixes: efabce290151 ("octeontx2-pf: AF_XDP zero copy receive support")
Signed-off-by: Bo Sun <bo@mboxify.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
