]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit103529375d337550f8b46a980ad05b3364450777
tree3e9a900b6a809ad87bed2ed31bb0d90606b8235d
parent9cde696b00c8b1cd30afbe1fe594f99764edb525
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