aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authordingtianhong <[email protected]>2014-02-21 16:08:53 +0800
committerDavid S. Miller <[email protected]>2014-02-24 18:28:23 -0500
commit4335d60e5e271497116fd77ed68dacca7cfb1548 (patch)
tree609b8f5f80fe2d3c5d115c3885ed5d51193c40f2 /tools/perf/scripts/python/event_analyzing_sample.py
parent827418081ab177b82ff3032277fca32c3ecc5dc3 (diff)
bonding: use rcu_dereference() to access curr_active_slave
The bond_info_show_master already in RCU read-side critical section, and the we access curr_active_slave without the curr_slave_lock, we could not sure whether the curr_active_slave will be changed during the processing, so use RCU to protected the pointer. Cc: Jay Vosburgh <[email protected]> Cc: Veaceslav Falico <[email protected]> Cc: Andy Gospodarek <[email protected]> Signed-off-by: Ding Tianhong <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions