From: Ben Hutchings Date: Mon, 13 Dec 2010 08:19:56 +0000 (+0000) Subject: bonding: Change active slave quietly when bond is down X-Git-Tag: v2.6.37-rc8~13^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffa95ed50f9fb2d8faaa6bd73086a7056ea46a06;p=pandora-kernel.git 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 Signed-off-by: Jay Vosburgh Signed-off-by: David S. Miller --- Reading git-diff-tree failed