Re: [PATCH net] net: xilinx: axienet: fix potential memory leak in axienet_start_xmit()

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


Hello:

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

On Mon, 14 Oct 2024 22:37:04 +0800 you wrote:
> The axienet_start_xmit() returns NETDEV_TX_OK without freeing skb
> in case of dma_map_single() fails, add dev_kfree_skb_any() to fix it.
>
> Fixes: 71791dc8bdea ("net: axienet: Check for DMA mapping errors")
> Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>
> ---
> drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 ++
> 1 file changed, 2 insertions(+)

Here is the summary with links:
- [net] net: xilinx: axienet: fix potential memory leak in axienet_start_xmit()
https://git.kernel.org/netdev/net/c/99714e37e833

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