Messages in this thread | | | Subject | Re: [PATCH net] ethernet: aeroflex: fix potential skb leak in greth_init_rings() | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 07 Dec 2022 10:50:16 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by Paolo Abeni <pabeni@redhat.com>:
On Sun, 4 Dec 2022 14:09:08 +0800 you wrote: > The greth_init_rings() function won't free the newly allocated skb when > dma_mapping_error() returns error, so add dev_kfree_skb() to fix it. > > Compile tested only. > > Fixes: d4c41139df6e ("net: Add Aeroflex Gaisler 10/100/1G Ethernet MAC driver") > Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com> > > [...]
Here is the summary with links: - [net] ethernet: aeroflex: fix potential skb leak in greth_init_rings() https://git.kernel.org/netdev/net/c/063a932b64db
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |