Re: [PATCH net] octeontx2-pf: avoid double free of pool->stack on AQ init failure

From: patchwork-bot+netdevbpf

Date: Tue May 19 2026 - 21:01:39 EST


Hello:

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

On Fri, 15 May 2026 23:18:26 +0800 you wrote:
> otx2_pool_aq_init() frees pool->stack when mailbox sync or retry
> allocation fails, but leaves the pointer unchanged. Later,
> otx2_sq_aura_pool_init() unwinds the partial setup through
> otx2_aura_pool_free(), which frees pool->stack again. The CN20K-specific
> cn20k_pool_aq_init() implementation has the same bug in
> its corresponding error path.
>
> [...]

Here is the summary with links:
- [net] octeontx2-pf: avoid double free of pool->stack on AQ init failure
https://git.kernel.org/netdev/net/c/9b244c242bec

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