diff options
author | Veaceslav Falico <vfalico@redhat.com> | 2014-01-27 14:37:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-27 13:12:45 -0800 |
commit | 98b90f26651f9d84cfbb0221c9a3d9863c5bea69 (patch) | |
tree | 3dcef360c8235cde2cbd254f829d87473fc7b2cc /tools/perf/scripts/python/net_dropmonitor.py | |
parent | bb9fbe2ddd6d6111c5fe5987fa1e71da7d2ab854 (diff) |
bonding: RCUify bond_ab_arp_probe
Currently bond_ab_arp_probe() is always called under rcu_read_lock(),
however to work with curr_active_slave we're still holding the
curr_slave_lock.
To remove that curr_slave_lock - rcu_dereference the bond's
curr_active_slave and use it further - so that we're sure the slave won't
go away, and we don't care if it will change in the meanwhile.
CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions