Re: [PATCH net] sfc: fix potential memleak in __ef100_hard_start_xmit()

From: patchwork-bot+netdevbpf
Date: Tue Nov 22 2022 - 05:45:07 EST


Hello:

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

On Thu, 17 Nov 2022 15:50:09 +0800 you wrote:
> The __ef100_hard_start_xmit() returns NETDEV_TX_OK without freeing skb
> in error handling case, add dev_kfree_skb_any() to fix it.
>
> Fixes: 51b35a454efd ("sfc: skeleton EF100 PF driver")
> Signed-off-by: Zhang Changzhong <zhangchangzhong@xxxxxxxxxx>
> ---
> drivers/net/ethernet/sfc/ef100_netdev.c | 1 +
> 1 file changed, 1 insertion(+)

Here is the summary with links:
- [net] sfc: fix potential memleak in __ef100_hard_start_xmit()
https://git.kernel.org/netdev/net/c/aad98abd5cb8

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