Re: [PATCH] net: bgmac: Fix an erroneous kfree() in bgmac_remove()

From: patchwork-bot+netdevbpf
Date: Tue Jun 14 2022 - 22:20:24 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 13 Jun 2022 22:53:50 +0200 you wrote:
> 'bgmac' is part of a managed resource allocated with bgmac_alloc(). It
> should not be freed explicitly.
>
> Remove the erroneous kfree() from the .remove() function.
>
> Fixes: 34a5102c3235 ("net: bgmac: allocate struct bgmac just once & don't copy it"
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- net: bgmac: Fix an erroneous kfree() in bgmac_remove()
https://git.kernel.org/netdev/net/c/d7dd6eccfbc9

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