Re: [PATCH net] ethernet: aeroflex: fix potential skb leak in greth_init_rings()

From: patchwork-bot+netdevbpf
Date: Wed Dec 07 2022 - 05:50:28 EST


Hello:

This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Sun, 4 Dec 2022 14:09:08 +0800 you wrote:
> The greth_init_rings() function won't free the newly allocated skb when
> dma_mapping_error() returns error, so add dev_kfree_skb() to fix it.
>
> Compile tested only.
>
> Fixes: d4c41139df6e ("net: Add Aeroflex Gaisler 10/100/1G Ethernet MAC driver")
> Signed-off-by: Zhang Changzhong <zhangchangzhong@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net] ethernet: aeroflex: fix potential skb leak in greth_init_rings()
https://git.kernel.org/netdev/net/c/063a932b64db

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