Re: [PATCH net] net: page_pool: add missing free_percpu when page_pool_init fail
From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-11-02 11:50:29
Also in:
lkml
From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-11-02 11:50:29
Also in:
lkml
Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni [off-list ref]: On Mon, 30 Oct 2023 17:12:56 +0800 you wrote:
From: Jian Shen <shenjian15@huawei.com>
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 <shenjian15@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
[...]
Here is the summary with links:
- [net] net: page_pool: add missing free_percpu when page_pool_init fail
https://git.kernel.org/netdev/net/c/8ffbd1669ed1
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html