Re: [PATCH net] net: stmmac: selftests: fix potential memleak in stmmac_test_arpoffload()

From: patchwork-bot+netdevbpf
Date: Fri Dec 09 2022 - 06:00:29 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Wed, 7 Dec 2022 16:31:59 +0800 you wrote:
> The skb allocated by stmmac_test_get_arp_skb() hasn't been released in
> some error handling case, which will lead to a memory leak. Fix this up
> by adding kfree_skb() to release skb.
>
> Compile tested only.
>
> Fixes: 5e3fb0a6e2b3 ("net: stmmac: selftests: Implement the ARP Offload test")
> Signed-off-by: Zhang Changzhong <zhangchangzhong@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net] net: stmmac: selftests: fix potential memleak in stmmac_test_arpoffload()
https://git.kernel.org/netdev/net/c/f150b63f3fa5

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