Re: [PATCH net] net/sun3_82586: fix potential memory leak in sun3_82586_send_packet()
From: patchwork-bot+netdevbpf
Date: Sun Oct 20 2024 - 10:50:43 EST
Hello:
This patch was applied to netdev/net.git (main)
by Andrew Lunn <andrew@xxxxxxx>:
On Tue, 15 Oct 2024 22:41:48 +0800 you wrote:
> The sun3_82586_send_packet() returns NETDEV_TX_OK without freeing skb
> in case of skb->len being too long, add dev_kfree_skb() to fix it.
>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>
> ---
> drivers/net/ethernet/i825xx/sun3_82586.c | 1 +
> 1 file changed, 1 insertion(+)
Here is the summary with links:
- [net] net/sun3_82586: fix potential memory leak in sun3_82586_send_packet()
https://git.kernel.org/netdev/net/c/2cb3f56e827a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html