Re: [PATCH net] octeontx2-af: fix memory leak in rvu_setup_hw_resources()
From: patchwork-bot+netdevbpf
Date: Tue Jun 09 2026 - 06:47:55 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Thu, 4 Jun 2026 22:37:56 +0800 you wrote:
> If rvu_npc_exact_init() fails in rvu_setup_hw_resources(), the function
> returns directly instead of jumping to the error handling path. This
> causes a resource leak for the previously initialized CGX, NPC, fwdata,
> and MSI-X states.
>
> Fix this by replacing the direct return with goto cgx_err to ensure
> proper cleanup.
>
> [...]
Here is the summary with links:
- [net] octeontx2-af: fix memory leak in rvu_setup_hw_resources()
https://git.kernel.org/netdev/net/c/09a5bf856aa7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html