linux/net/dsa
Florian Fainelli e69e462610 net: dsa: Do not clobber PHY link outside of state machine
Calling phy_read_status() means that we may call into
genphy_read_status() which in turn will use genphy_update_link() which
can make changes to phydev->link outside of the state machine's state
transitions. This is an invalid behavior that is now caught as of
811a919135 ("phy state machine: failsafe leave invalid RUNNING state")

Reported-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-07 13:48:22 -05:00
..
dsa.c net: dsa: Rename and export dev_to_net_device() 2017-02-07 10:51:45 -05:00
dsa2.c net: dsa: Add support for platform data 2017-02-07 10:51:45 -05:00
dsa_priv.h net: dsa: add switch notifier 2017-02-06 16:53:29 -05:00
Kconfig net: dsa: Remove hwmon support 2017-01-20 14:42:51 -05:00
Makefile net: dsa: add switch notifier 2017-02-06 16:53:29 -05:00
slave.c net: dsa: Do not clobber PHY link outside of state machine 2017-02-07 13:48:22 -05:00
switch.c net: dsa: introduce bridge notifier 2017-02-06 16:53:29 -05:00
tag_brcm.c net: dsa: store a dsa_port in dsa_slave_priv 2017-01-29 18:42:46 -05:00
tag_dsa.c net: dsa: store a dsa_port in dsa_slave_priv 2017-01-29 18:42:46 -05:00
tag_edsa.c net: dsa: store a dsa_port in dsa_slave_priv 2017-01-29 18:42:46 -05:00
tag_qca.c net: dsa: store a dsa_port in dsa_slave_priv 2017-01-29 18:42:46 -05:00
tag_trailer.c net: dsa: store a dsa_port in dsa_slave_priv 2017-01-29 18:42:46 -05:00