Re: [PATCH net] net: page_pool: add missing free_percpu when page_pool_init fail

From: patchwork-bot+netdevbpf
Date: Thu Nov 02 2023 - 07:50:29 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Mon, 30 Oct 2023 17:12:56 +0800 you wrote:
> From: Jian Shen <shenjian15@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Signed-off-by: Jijie Shao <shaojijie@xxxxxxxxxx>
>
> [...]

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