diff options
author | 2025-08-25 17:34:24 +0300 | |
---|---|---|
committer | 2025-08-26 18:00:25 -0700 | |
commit | 2c0a959bebdc1ada13cf9a8242f177c5400299e6 (patch) | |
tree | d8a88775b3a2c1e47914ade670a9766b8712b00b /tools/perf/scripts/python | |
parent | Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (diff) | |
download | wireguard-linux-2c0a959bebdc1ada13cf9a8242f177c5400299e6.tar.xz wireguard-linux-2c0a959bebdc1ada13cf9a8242f177c5400299e6.zip |
net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path
In the error path of hws_pool_buddy_init(), the buddy allocator cleanup
doesn't free the allocator structure itself, causing a memory leak.
Add the missing kfree() to properly release all allocated memory.
Fixes: c61afff94373 ("net/mlx5: HWS, added memory management handling")
Signed-off-by: Lama Kayal <lkayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Link: https://patch.msgid.link/20250825143435.598584-2-mbloch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions