Re: [PATCH net] net: ethernet: rtsn: fix potential memory leak in rtsn_start_xmit()

From: patchwork-bot+netdevbpf
Date: Tue Oct 15 2024 - 14:10:34 EST


Hello:

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

On Mon, 14 Oct 2024 22:42:50 +0800 you wrote:
> The rtsn_start_xmit() returns NETDEV_TX_OK without freeing skb
> in case of skb->len being too long, add dev_kfree_skb_any() to fix it.
>
> Fixes: b0d3969d2b4d ("net: ethernet: rtsn: Add support for Renesas Ethernet-TSN")
> Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>
> ---
> drivers/net/ethernet/renesas/rtsn.c | 1 +
> 1 file changed, 1 insertion(+)

Here is the summary with links:
- [net] net: ethernet: rtsn: fix potential memory leak in rtsn_start_xmit()
https://git.kernel.org/netdev/net/c/c186b7a7f238

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