aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHangbin Liu <[email protected]>2019-10-09 20:18:28 +0800
committerJakub Kicinski <[email protected]>2019-10-09 21:13:59 -0700
commitc17e26ddc79596230834345be80fcad6c619e9ec (patch)
treea79fe3552d3c8d031ccb9fa6dcfddf913d656faf /tools/perf/scripts/python/export-to-sqlite.py
parent5e96cd3302bd62b8cbfc1a7f8f8f1396d6f5e0b0 (diff)
team: call RCU read lock when walking the port_list
Before reading the team port list, we need to acquire the RCU read lock. Also change list_for_each_entry() to list_for_each_entry_rcu(). v2: repost the patch to net-next and remove fixes flag as this is a cosmetic change. Suggested-by: Paolo Abeni <[email protected]> Signed-off-by: Hangbin Liu <[email protected]> Acked-by: Paolo Abeni <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions