summaryrefslogtreecommitdiff
path: root/drivers/net/bonding/bond_3ad.c
diff options
context:
space:
mode:
authordingtianhong <dingtianhong@huawei.com>2013-12-13 02:20:07 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-12-14 06:58:02 (GMT)
commitc8517035445834350b8d498723b68f4e81286110 (patch)
tree785b8eca7f72534269947785e9add44cd4cb400f /drivers/net/bonding/bond_3ad.c
parenteb9fa4b0199f62df3d174d32b4bd534df8ba4533 (diff)
downloadlinux-c8517035445834350b8d498723b68f4e81286110.tar.xz
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>
Diffstat (limited to 'drivers/net/bonding/bond_3ad.c')
0 files changed, 0 insertions, 0 deletions