linux-kernel-test/drivers/net/bonding
Phil Oester e826eafa65 bonding: Call netif_carrier_off after register_netdevice
Bringing up a bond interface with all network cables disconnected
does not properly set the interface as DOWN because the call to
netif_carrier_off occurs too early in bond_init.  The call needs
to occur after register_netdevice has set dev->reg_state to
NETREG_REGISTERED, so that netif_carrier_off will trigger the
call to linkwatch_fire_event.

Signed-off-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-15 19:29:38 -07:00
..
bond_3ad.c bonding 802.3ad: Rename rx_machine_lock to state_machine_lock 2011-03-07 16:02:18 -08:00
bond_3ad.h bonding 802.3ad: Rename rx_machine_lock to state_machine_lock 2011-03-07 16:02:18 -08:00
bond_alb.c bonding: use the correct size for _simple_hash() 2011-02-28 13:21:28 -08:00
bond_alb.h bonding: migrate some macros from bond_alb.c to bond_alb.h 2010-12-16 13:16:05 -08:00
bond_debugfs.c bonding: add the debugfs interface to see RLB hash table 2010-12-16 13:16:05 -08:00
bond_ipv6.c bonding/vlan: Fix mangled NAs on slaves without VLAN tag insertion 2010-12-16 12:43:22 -08:00
bond_main.c bonding: Call netif_carrier_off after register_netdevice 2011-03-15 19:29:38 -07:00
bond_procfs.c bonding: move procfs code into bond_procfs.c 2011-03-09 13:32:17 -08:00
bond_sysfs.c bonding: fix return value of couple of store functions 2011-01-25 13:13:16 -08:00
bonding.h bonding: move procfs code into bond_procfs.c 2011-03-09 13:32:17 -08:00
Makefile bonding: move procfs code into bond_procfs.c 2011-03-09 13:32:17 -08:00