On Thu, Oct 17, 2019 at 09:29:26PM +0200, Andrew Lunn wrote: > As soon as the netdev is registers, the kernel can start using the > interface. If the driver connects the MAC to the PHY after the netdev > is registered, there is a race condition where the interface can be > opened without having the PHY connected. > > Change the order to close this race condition. > > Fixes: 92571a1aae40 ("lan78xx: Connect phy early") > Reported-by: Daniel Wagner <dwag...@suse.de> > Signed-off-by: Andrew Lunn <and...@lunn.ch>
Tested-by: Daniel Wagner <dwag...@suse.de> Thanks for the fix! Daniel