[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174224464449.3909531.16032949444811656672.git-patchwork-notify@kernel.org>
Date: Mon, 17 Mar 2025 20:50:44 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Russell King (Oracle) <rmk+kernel@...linux.org.uk>
Cc: andrew@...n.ch, hkallweit1@...il.com, alexandre.torgue@...s.st.com,
andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, linux-arm-kernel@...ts.infradead.org,
linux-stm32@...md-mailman.stormreply.com, mcoquelin.stm32@...il.com,
netdev@...r.kernel.org, pabeni@...hat.com
Subject: Re: [PATCH net-next] net: stmmac: remove redundant racy tear-down in
stmmac_dvr_remove()
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Fri, 14 Mar 2025 18:02:39 +0000 you wrote:
> While the network device is registered, it is published to userspace,
> and thus userspace can change its state. This means calling
> functions such as stmmac_stop_all_dma() and stmmac_mac_set() are
> racy.
>
> Moreover, unregister_netdev() will unpublish the network device, and
> then if appropriate call the .ndo_stop() method, which is
> stmmac_release(). This will first call phylink_stop() which will
> synchronously take the link down, resulting in stmmac_mac_link_down()
> and stmmac_mac_set(, false) being called.
>
> [...]
Here is the summary with links:
- [net-next] net: stmmac: remove redundant racy tear-down in stmmac_dvr_remove()
https://git.kernel.org/netdev/net-next/c/180fa8d0a2cb
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