summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-12-13 08:19:56 +0000
committerDavid S. Miller <davem@davemloft.net>2010-12-16 12:43:22 -0800
commitffa95ed50f9fb2d8faaa6bd73086a7056ea46a06 (patch)
tree17502c5275b8f28563ccfd15f23fe85a5e2dabfe /drivers/net/bnx2.h
parent8387451e558853f7b513790c0070e3b6f0c135aa (diff)
downloadop-kernel-dev-ffa95ed50f9fb2d8faaa6bd73086a7056ea46a06.zip
op-kernel-dev-ffa95ed50f9fb2d8faaa6bd73086a7056ea46a06.tar.gz
bonding: Change active slave quietly when bond is down
bond_change_active_slave() may be called when a slave is added, even if the bond has not been brought up yet. It may then attempt to send packets, and further it may use mcast_work which is uninitialised before the bond is brought up. Add the necessary checks for netif_running(bond->dev). Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud