summaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authordingtianhong <dingtianhong@huawei.com>2013-12-13 10:19:50 +0800
committerDavid S. Miller <davem@davemloft.net>2013-12-14 01:58:01 -0500
commit2e52f4fe3655c7a2311070c6713f7feabc75486c (patch)
treec24f81f012e80b79b60f00653e162692f236fa83 /include/linux/netdevice.h
parent733ab63935beab905b03a329cdc544e8c171b6b9 (diff)
bonding: rebuild the lock use for bond_loadbalance_arp_mon()
The bond_loadbalance_arp_mon() use the bond lock to protect the bond slave list, it is no effect, so I could use RTNL or RCU to replace it, considering the performance impact, the RCU is more better here, so the bond lock replace with the RCU. The bond_select_active_slave() need RTNL and curr_slave_lock together, but there is no RTNL lock here, so add a rtnl_rtylock. 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 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions