[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172943584599.3593495.6067062516799587489.git-patchwork-notify@kernel.org>
Date: Sun, 20 Oct 2024 14:50:45 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Wang Hai <wanghai38@...wei.com>
Cc: ajit.khaparde@...adcom.com, horms@...nel.org,
sriharsha.basavapatna@...adcom.com, somnath.kotur@...adcom.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
VenkatKumar.Duvvuru@...lex.Com, zhangxiaoxu5@...wei.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 net] be2net: fix potential memory leak in be_xmit()
Hello:
This patch was applied to netdev/net.git (main)
by Andrew Lunn <andrew@...n.ch>:
On Tue, 15 Oct 2024 22:48:02 +0800 you wrote:
> The be_xmit() returns NETDEV_TX_OK without freeing skb
> in case of be_xmit_enqueue() fails, add dev_kfree_skb_any() to fix it.
>
> Fixes: 760c295e0e8d ("be2net: Support for OS2BMC.")
> Signed-off-by: Wang Hai <wanghai38@...wei.com>
> ---
> v1->v2: Add label drop_skb for dev_kfree_skb_any()
> drivers/net/ethernet/emulex/benet/be_main.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Here is the summary with links:
- [v2,net] be2net: fix potential memory leak in be_xmit()
https://git.kernel.org/netdev/net/c/e4dd8bfe0f6a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists