Messages in this thread | | | Subject | Re: [PATCH net] sfc: fix potential memleak in __ef100_hard_start_xmit() | From | patchwork-bot+netdevbpf@kernel ... | Date | Tue, 22 Nov 2022 10:40:15 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by Paolo Abeni <pabeni@redhat.com>:
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@huawei.com> > --- > 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
| |