aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorVlad Buslov <[email protected]>2020-02-17 12:12:10 +0200
committerDavid S. Miller <[email protected]>2020-02-17 14:17:02 -0800
commit487e9589cc0ebebde4d1c4764aab271e5680a6b6 (patch)
tree4f00ce35cc4daaebdcbd2819f91e1dc1d48c7775 /tools/perf/scripts/python/powerpc-hcalls.py
parent7a47281439ba00b11fc098f36695522184ce5a82 (diff)
net: sched: refactor police action helpers to require tcf_lock
In order to remove rtnl lock dependency from flow_action representation translator, change rcu_dereference_bh_rtnl() to rcu_dereference_protected() in police action helpers that provide external access to rate and burst values. This is safe to do because the functions are not called from anywhere else outside flow_action infrastructure which was modified to obtain tcf_lock when accessing action data in one of previous patches in the series. Signed-off-by: Vlad Buslov <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions