Re: [PATCH net] eth: sp7021: drop free_netdev() from spl2sw_init_netdev()

From
patchwork-bot+netdevbpf@kernel.org
Date
2022-11-11 00:40:24
Reply to
Wei Yongjun, 2022-11-09
Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski [off-list ref]:

On Wed,  9 Nov 2022 15:01:16 +0000 you wrote:
From: Wei Yongjun <redacted>

It's not necessary to free netdev allocated with devm_alloc_etherdev()
and using free_netdev() leads to double free.

Fixes: fd3040b9394c ("net: ethernet: Add driver for Sunplus SP7021")
Signed-off-by: Wei Yongjun <redacted>
Here is the summary with links:
  - [net] eth: sp7021: drop free_netdev() from spl2sw_init_netdev()
    https://git.kernel.org/netdev/net/c/de91b3197d15

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

Thread (5 messages) 5 messages, 5 authors, last reply 2022-11-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help