-
由 Ivan T. Ivanov 提交于
Currently phy_device state could be left in inconsistent state shown by following alert message[1]. This is because phy_read_status could be called concurrently from lan78xx_delayedwork, phy_state_machine and __ethtool_get_link. Fix this by making sure that phy_device state is updated atomically. [1] lan78xx 1-1.1.1:1.0 eth0: No phy led trigger registered for speed(-1) Signed-off-by: NIvan T. Ivanov <iivanov@suse.de> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
6b67d4d6