summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLama Kayal <lkayal@nvidia.com>2025-08-25 17:34:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-04 16:55:40 +0200
commit86d13a6f49cb68aa91bd718b1b627e72e77285c1 (patch)
tree77530effb3502fe2d99cd0ff9f20109831a26625 /tools/perf/scripts/python/stackcollapse.py
parent5c5f9f42680c22fe70a35db866dc39fa2988ab11 (diff)
downloadkernel-86d13a6f49cb68aa91bd718b1b627e72e77285c1.tar.gz
net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path
[ Upstream commit 2c0a959bebdc1ada13cf9a8242f177c5400299e6 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions