[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166877701520.19854.17834649129969422685.git-patchwork-notify@kernel.org>
Date: Fri, 18 Nov 2022 13:10:15 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Wang Hai <wanghai38@...wei.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, andriy.shevchenko@...ux.intel.com,
liuhangbin@...il.co, masa-korg@....okisemi.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH net] net: pch_gbe: fix potential memleak in pch_gbe_tx_queue()
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Thu, 17 Nov 2022 14:55:27 +0800 you wrote:
> In pch_gbe_xmit_frame(), NETDEV_TX_OK will be returned whether
> pch_gbe_tx_queue() sends data successfully or not, so pch_gbe_tx_queue()
> needs to free skb before returning. But pch_gbe_tx_queue() returns without
> freeing skb in case of dma_map_single() fails. Add dev_kfree_skb_any()
> to fix it.
>
> Fixes: 77555ee72282 ("net: Add Gigabit Ethernet driver of Topcliff PCH")
> Signed-off-by: Wang Hai <wanghai38@...wei.com>
>
> [...]
Here is the summary with links:
- [net] net: pch_gbe: fix potential memleak in pch_gbe_tx_queue()
https://git.kernel.org/netdev/net/c/2360f9b8c4e8
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