bonding: remove unwanted lock for bond_option_active_slave_set()
authordingtianhong <dingtianhong@huawei.com>
Fri, 13 Dec 2013 02:20:17 +0000 (10:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Dec 2013 06:58:02 +0000 (01:58 -0500)
commit4e789fc1a62d4c25726ee053044399d71471fe2f
tree3e9a900b6a809ad87bed2ed31bb0d90606b8235d
parentbe79bd048abe9fb6aee049ea903d1e70b44d6480
bonding: remove unwanted lock for bond_option_active_slave_set()

The bond_option_active_slave_set() is always called in RTNL,
the RTNL could protect bond slave list, so remove the unwanted
bond lock.

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>
drivers/net/bonding/bond_options.c