aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorTonghao Zhang <[email protected]>2020-08-05 15:19:11 +0800
committerDavid S. Miller <[email protected]>2020-08-05 12:11:46 -0700
commit5845589ed652da9b65833044bd2d0bcb1d676ed0 (patch)
tree61d9d9096654cafb960c283ef02a1487d7a2ddc5 /tools/perf/util/scripting-engines/trace-event-perl.c
parenta0dced17ad9dc08b1b25e0065b54c97a318e6e8b (diff)
net: openvswitch: silence suspicious RCU usage warning
ovs_flow_tbl_destroy always is called from RCU callback or error path. It is no need to check if rcu_read_lock or lockdep_ovsl_is_held was held. ovs_dp_cmd_fill_info always is called with ovs_mutex, So use the rcu_dereference_ovsl instead of rcu_dereference in ovs_flow_tbl_masks_cache_size. Fixes: 9bf24f594c6a ("net: openvswitch: make masks cache size configurable") Cc: Eelco Chaudron <[email protected]> Reported-by: [email protected] Reported-by: [email protected] Signed-off-by: Tonghao Zhang <[email protected]> Acked-by: Paolo Abeni <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions