aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/3c505.h
diff options
context:
space:
mode:
authorJay Vosburgh <fubar@us.ibm.com>2008-01-17 19:24:59 -0500
committerJeff Garzik <jeff@garzik.org>2008-01-18 14:38:38 -0500
commit2543331d367c9fe54f4ba73300894bc21e0a08f4 (patch)
tree83c43c448b7f18541dbe70ca4ff80138f8e695d4 /drivers/net/3c505.h
parente0138a66e18c6755ee29ce13b3f1142af775dc5f (diff)
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 <fubar@us.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/3c505.h')
0 files changed, 0 insertions, 0 deletions