summaryrefslogtreecommitdiff
path: root/drivers/net/smc-ultra32.c
diff options
context:
space:
mode:
authorPhil Oester <kernel@linuxace.com>2011-03-14 06:22:05 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-03-16 02:29:38 (GMT)
commite826eafa65c6f1f7c8db5a237556cebac57ebcc5 (patch)
tree4f88eb6bd3ae6e963ab02250f3051379e1d91276 /drivers/net/smc-ultra32.c
parentfd0e435b0fe85622f167b84432552885a4856ac8 (diff)
downloadlinux-fsl-qoriq-e826eafa65c6f1f7c8db5a237556cebac57ebcc5.tar.xz
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>
Diffstat (limited to 'drivers/net/smc-ultra32.c')
0 files changed, 0 insertions, 0 deletions