Skip to content
Commit b4730016 authored by David S. Miller's avatar David S. Miller
Browse files

net: Do not fire linkwatch events until the device is registered.



Several device drivers try to do things like netif_carrier_off()
before register_netdev() is invoked.  This is bogus, but too many
drivers do this to fix them all up in one go.

Reported-by: default avatarFolkert van Heusden <folkert@vanheusden.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 566521d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment