Re: [PATCH] [v3] ethernet: atheros: fix a memleak in atl1e_setup_ring_resources

From: patchwork-bot+netdevbpf
Date: Fri Dec 15 2023 - 06:00:47 EST


Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 14 Dec 2023 21:04:04 +0800 you wrote:
> In the error handling of 'offset > adapter->ring_size', the
> tx_ring->tx_buffer allocated by kzalloc should be freed,
> instead of 'goto failed' instantly.
>
> Fixes: a6a5325239c2 ("atl1e: Atheros L1E Gigabit Ethernet driver")
> Signed-off-by: Zhipeng Lu <alexious@xxxxxxxxxx>
> Reviewed-by: Suman Ghosh <sumang@xxxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [v3] ethernet: atheros: fix a memleak in atl1e_setup_ring_resources
https://git.kernel.org/netdev/net/c/309fdb1c33fe

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