Re: [PATCH net] bnge: Fix resource leak in bnge_init_nic() error path

[email protected]
Newsgroups gmane.linux.kernel,gmane.linux.network
Message-ID <178603503113.1375455.14546971587248050913.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

On Wed,  5 Aug 2026 15:10:22 +0530 you wrote:
> If bnge_init_chip() fails, bnge_init_nic() jumps to err_free_ring_grps
> and returns immediately, skipping cleanup for RX ring pair buffers.
> 
> Remove the early return so execution falls through to
> err_free_rx_ring_pair_bufs to properly free resources on error.
> 
> Fixes: 23df6aebf803 ("bng_en: Allocate stat contexts")
> Signed-off-by: Bhargava Marreddy <[email protected]>
> Reviewed-by: Dharmender Garg <[email protected]>
> Reviewed-by: Rajashekar Hudumula <[email protected]>
> 
> [...]

Here is the summary with links:
  - [net] bnge: Fix resource leak in bnge_init_nic() error path
    https://git.kernel.org/netdev/net/c/bfec39ff1484

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.