Re: [PATCH] page_pool: fix memory-provider leak in page_pool_create_percpu() error path

From: patchwork-bot+netdevbpf

Date: Thu Apr 30 2026 - 00:13:06 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 28 Apr 2026 19:07:39 +0200 you wrote:
> When page_pool_create_percpu() fails on page_pool_list(), it falls
> through to its err_uninit: label, which calls page_pool_uninit().
> At that point page_pool_init() has already taken two references
> when the user requested PP_FLAG_ALLOW_UNREADABLE_NETMEM:
>
> pool->mp_ops->init(pool)
> static_branch_inc(&page_pool_mem_providers);
>
> [...]

Here is the summary with links:
- page_pool: fix memory-provider leak in page_pool_create_percpu() error path
https://git.kernel.org/netdev/net/c/5ef343614db7

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html