linux/drivers/net/bonding
dingtianhong c851703544 bonding: remove unwanted lock for bond enslave and release
The bond_change_active_slave() and bond_select_active_slave()
do't need bond lock anymore, so remove the unwanted bond lock
for these two functions.

The bond_select_active_slave() will release and acquire
curr_slave_lock, so the curr_slave_lock need to protect
the function.

In bond enslave and bond release, the bond slave list is also
protected by RTNL, so bond lock is no need to exist, remove
the lock and clean the functions.

Suggested-by: Jay Vosburgh <fubar@us.ibm.com>
Suggested-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-12-14 01:58:02 -05:00
..
bond_3ad.c Revert "Merge branch 'bonding_monitor_locking'" 2013-10-28 00:11:22 -04:00
bond_3ad.h bonding: fix multiple 3ad mode sysfs race conditions 2013-05-19 23:25:49 -07:00
bond_alb.c bonding: rebuild the lock use for bond_alb_monitor() 2013-12-14 01:58:01 -05:00
bond_alb.h drivers/net/*: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
bond_debugfs.c bonding: delete migrated IP addresses from the rlb hash table 2012-11-30 12:07:27 -05:00
bond_main.c bonding: remove unwanted lock for bond enslave and release 2013-12-14 01:58:02 -05:00
bond_netlink.c bonding: add arp_all_targets netlink support 2013-12-14 01:07:32 -05:00
bond_options.c bonding: add arp_all_targets netlink support 2013-12-14 01:07:32 -05:00
bond_procfs.c bonding: don't use bond_next_slave() in bond_info_seq_next() 2013-09-28 15:28:06 -07:00
bond_sysfs.c bonding: add arp_all_targets netlink support 2013-12-14 01:07:32 -05:00
bonding.h bonding: create bond_first_slave_rcu() 2013-12-14 01:58:02 -05:00
Makefile bonding: move mode setting into separate function 2013-10-19 18:58:45 -04:00