Re: [PATCH net v2] octeontx2-pf: fix SQB pointer leak on init failure
From: patchwork-bot+netdevbpf
Date: Fri Jul 03 2026 - 02:40:45 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Tue, 30 Jun 2026 15:16:25 +0800 you wrote:
> otx2_init_hw_resources() initializes SQ aura and pool resources before
> several later setup steps. On failure, err_free_sq_ptrs only frees SQB
> pages, leaving the per-SQ sqb_ptrs arrays behind.
>
> Use otx2_free_sq_res() for the SQ unwind path and let it free sqb_ptrs
> even when sq->sqe has not been allocated yet.
>
> [...]
Here is the summary with links:
- [net,v2] octeontx2-pf: fix SQB pointer leak on init failure
https://git.kernel.org/netdev/net/c/62e7df6d042a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html