Re: [PATCH net-next v5 4/4] net: phy: make an unbind wait for the attached consumer to detach
From: Andrew Lunn
Date: Mon Oct 12 2026 - 22:50:58 EST
On Fri, Oct 09, 2026 at 09:05:50PM +0300, Aleksei Sviridkin wrote:
> With attach serialised against unbind, the unbind that loses the race
> waits for the attach and then removes the driver from a PHY that is now
> attached. phylink uses phydev->drv right after the attach returns, and
> phylib uses it again in later phy_start(), phy_stop() and state machine
> runs.
I think we should drop this one as well.
Andrew