Files
linux/drivers/net/phy
Antoine Tenart 4c2f34ab83 net: phy: phylink: ensure the carrier is off when starting phylink
[ Upstream commit aeeb2e8fde ]

Phylink made an assumption about the carrier state being down when
calling phylink_start(). If this assumption isn't satisfied, the
internal phylink state could misbehave and a net device could end up not
being functional.

This patch fixes this by explicitly calling netif_carrier_off() in
phylink_start().

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-13 11:14:55 -08:00
..
2018-03-19 08:42:43 +01:00
2017-05-30 12:42:27 -04:00
2017-03-24 15:33:32 +01:00
2017-08-06 20:55:28 -07:00
2017-08-06 20:55:28 -07:00
2018-03-03 10:24:36 +01:00
2018-03-24 11:01:24 +01:00