]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
phylink: ensure we report link down when LOS asserted
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 26 Dec 2017 23:15:12 +0000 (23:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2018 18:39:11 +0000 (13:39 -0500)
commitac817f5ad066697e4d4d35ec68c974eba2c5f17a
tree2040fceb6fa2ab69b4dda512a3435d0329a669b1
parentd02fd6e7d2933ede6478a15f9e4ce8a93845824e
phylink: ensure we report link down when LOS asserted

Although we disable the netdev carrier, we fail to report in the kernel
log that the link went down.  Fix this.

Fixes: 9525ae83959b ("phylink: add phylink infrastructure")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c