[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166822981729.20406.8789696456884171815.git-patchwork-notify@kernel.org>
Date: Sat, 12 Nov 2022 05:10:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Wei Yongjun <weiyongjun@...weicloud.com>
Cc: rafal@...ecki.pl, bcm-kernel-feedback-list@...adcom.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, f.fainelli@...il.com, weiyongjun1@...wei.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net] net: bgmac: Drop free_netdev() from bgmac_enet_remove()
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 9 Nov 2022 15:01:36 +0000 you wrote:
> From: Wei Yongjun <weiyongjun1@...wei.com>
>
> netdev is allocated in bgmac_alloc() with devm_alloc_etherdev() and will
> be auto released in ->remove and ->probe failure path. Using free_netdev()
> in bgmac_enet_remove() leads to double free.
>
> Fixes: 34a5102c3235 ("net: bgmac: allocate struct bgmac just once & don't copy it")
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
Here is the summary with links:
- [net] net: bgmac: Drop free_netdev() from bgmac_enet_remove()
https://git.kernel.org/netdev/net/c/6f928ab8ee9b
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