Re: [PATCH net-next] page_pool: disable direct recycling based on pool->cpuid on destroy

From: patchwork-bot+netdevbpf
Date: Mon Feb 19 2024 - 15:40:34 EST


Hello:

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

On Thu, 15 Feb 2024 12:39:05 +0100 you wrote:
> Now that direct recycling is performed basing on pool->cpuid when set,
> memory leaks are possible:
>
> 1. A pool is destroyed.
> 2. Alloc cache is emptied (it's done only once).
> 3. pool->cpuid is still set.
> 4. napi_pp_put_page() does direct recycling basing on pool->cpuid.
> 5. Now alloc cache is not empty, but it won't ever be freed.
>
> [...]

Here is the summary with links:
- [net-next] page_pool: disable direct recycling based on pool->cpuid on destroy
https://git.kernel.org/netdev/net-next/c/56ef27e3abe6

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