aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJian Shen <[email protected]>2023-10-30 17:12:56 +0800
committerPaolo Abeni <[email protected]>2023-11-02 12:27:53 +0100
commit8ffbd1669ed1d58939d6e878dffaa2f60bf961a4 (patch)
tree06fb52a85d9484cb0598d315fd62f08e44ef111d /tools/perf/scripts/python/task-analyzer.py
parentf55d8e60f10909dbc5524e261041e1d28d7d20d8 (diff)
net: page_pool: add missing free_percpu when page_pool_init fail
When ptr_ring_init() returns failure in page_pool_init(), free_percpu() is not called to free pool->recycle_stats, which may cause memory leak. Fixes: ad6fa1e1ab1b ("page_pool: Add recycle stats") Signed-off-by: Jian Shen <[email protected]> Signed-off-by: Jijie Shao <[email protected]> Reviewed-by: Yunsheng Lin <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Reviewed-by: Somnath Kotur <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions