Re: [PATCH net] net: bcmasp: fix potential memory leak in bcmasp_xmit()

From: patchwork-bot+netdevbpf
Date: Tue Oct 15 2024 - 20:50:32 EST


Hello:

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

On Mon, 14 Oct 2024 22:59:01 +0800 you wrote:
> The bcmasp_xmit() returns NETDEV_TX_OK without freeing skb
> in case of mapping fails, add dev_kfree_skb() to fix it.
>
> Fixes: 490cb412007d ("net: bcmasp: Add support for ASP2.0 Ethernet controller")
> Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>
> ---
> drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c | 1 +
> 1 file changed, 1 insertion(+)

Here is the summary with links:
- [net] net: bcmasp: fix potential memory leak in bcmasp_xmit()
https://git.kernel.org/netdev/net/c/fed07d3eb8a8

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