]> 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)
commitccbfb0b716c3bc38bde5bf889bef57de0f3b14e7
tree3e9a900b6a809ad87bed2ed31bb0d90606b8235d
parent26f00241d616e7b635e21364c05416c8048c2f12
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