Re: [PATCH net v2] nfp: xsk: fix memory leak in nfp_net_alloc()

From: patchwork-bot+netdevbpf

Date: Wed Oct 29 2025 - 20:40:52 EST


Hello:

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

On Tue, 28 Oct 2025 21:38:41 +0530 you wrote:
> In nfp_net_alloc(), the memory allocated for xsk_pools is not freed in
> the subsequent error paths, leading to a memory leak. Fix that by
> freeing it in the error path.
>
> Fixes: 6402528b7a0b ("nfp: xsk: add AF_XDP zero-copy Rx and Tx support")
> Signed-off-by: Abdun Nihaal <nihaal@xxxxxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net,v2] nfp: xsk: fix memory leak in nfp_net_alloc()
https://git.kernel.org/netdev/net/c/a4384d786e38

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