Files
linux/drivers
Bo Sun 92e9f4faff octeontx2-pf: fix bitmap leak
The bitmap allocated with bitmap_zalloc() in otx2_probe() was not
released in otx2_remove(). Unbinding and rebinding the driver therefore
triggers a kmemleak warning:

    unreferenced object (size 8):
      backtrace:
        bitmap_zalloc
        otx2_probe

Call bitmap_free() in the remove path to fix the leak.

Fixes: efabce2901 ("octeontx2-pf: AF_XDP zero copy receive support")
Signed-off-by: Bo Sun <bo@mboxify.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-09-30 17:27:44 -07:00
..
2025-09-30 17:27:44 -07:00
2025-09-02 12:21:42 -07:00
2025-09-26 15:30:31 -07:00
2025-08-27 16:40:13 +02:00
2025-08-20 16:37:27 +02:00
2025-09-12 13:41:55 +02:00