From: Jay Vosburgh Date: Fri, 18 Jan 2008 00:24:59 +0000 (-0800) Subject: bonding: fix locking during alb failover and slave removal X-Git-Tag: v2.6.24~41^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2543331d367c9fe54f4ba73300894bc21e0a08f4;p=pandora-kernel.git bonding: fix locking during alb failover and slave removal alb_fasten_mac_swap (actually rlb_teach_disabled_mac_on_primary) requries RTNL and no other locks. This could cause dev_set_promiscuity and/or dev_set_mac_address to be called with improper locking. Changed callers to hold only RTNL during calls to alb_fasten_mac_swap or functions calling it. Updated header comments in affected functions to reflect proper reality of locking requirements. Signed-off-by: Jay Vosburgh Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed