aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell/mvpp2
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@bootlin.com>2018-09-19 11:39:31 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-19 21:15:01 -0700
commitaeeb2e8fdefdd5d257a1446351c70cb3df540199 (patch)
tree278f23ca831a60e533a761338e8ff7e331a9b015 /drivers/net/ethernet/marvell/mvpp2
parentMerge branch 'net-mvpp2-improve-the-interrupt-usage' (diff)
downloadlinux-dev-aeeb2e8fdefdd5d257a1446351c70cb3df540199.tar.xz
linux-dev-aeeb2e8fdefdd5d257a1446351c70cb3df540199.zip
net: phy: phylink: ensure the carrier is off when starting phylink
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>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvpp2')
0 files changed, 0 insertions, 0 deletions