diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2009-04-17 22:44:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-20 11:00:38 +0200 |
commit | b168dfc51604ec293db16dc4d558043585578a2d (patch) | |
tree | 8af4953593909f8e038fbfe3ca53768c28159f33 /drivers/net/e1000e | |
parent | ixgb: fix link down initial state (diff) | |
download | linux-b168dfc51604ec293db16dc4d558043585578a2d.tar.xz linux-b168dfc51604ec293db16dc4d558043585578a2d.zip |
igb: fix link down inital state
As reported by Andrew Lutomirski <amluto@gmail.com>
All the intel wired ethernet drivers were calling netif_carrier_off
and netif_stop_queue (or variants) before calling register_netdevice
This is incorrect behavior as was pointed out by davem, and causes
ifconfig and friends to report a strange state before first link
after the driver was loaded, since without a netif_carrier_off, the stack
assumes carrier_on, but before register_netdev, netlink messages are not
sent out telling link state.
This apparently confused *some* versions of networkmanager.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reported-by: Andrew Lutomirski <amluto@gmail.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e')
0 files changed, 0 insertions, 0 deletions