Files
linux/drivers
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-10-03 17:00:59 -07:00
2018-07-22 14:28:43 +02:00
2018-07-03 11:24:56 +02:00
2018-11-13 11:14:52 -08:00
2018-08-22 07:46:11 +02:00
2018-01-17 09:45:27 +01:00
2018-08-24 13:09:06 +02:00
2018-11-10 07:48:34 -08:00
2018-09-15 09:45:27 +02:00
2018-10-03 17:00:46 -07:00
2018-11-04 14:52:49 +01:00
2018-11-04 14:52:39 +01:00