diff options
| author | Jarno Rajahalme <[email protected]> | 2014-05-05 14:17:28 -0700 |
|---|---|---|
| committer | Pravin B Shelar <[email protected]> | 2014-05-22 16:27:35 -0700 |
| commit | 86ec8dbae27e5fa2b5d54f10f77286d9ef55732a (patch) | |
| tree | a7234f03654ede89bb75297de731d79126556daf /tools/perf/scripts/python | |
| parent | eb07265904d6ee95497aba0f3cbd2ae6d9c39a97 (diff) | |
openvswitch: Fix ovs_flow_stats_get/clear RCU dereference.
For ovs_flow_stats_get() using ovsl_dereference() was wrong, since
flow dumps call this with RCU read lock.
ovs_flow_stats_clear() is always called with ovs_mutex, so can use
ovsl_dereference().
Also, make the ovs_flow_stats_get() 'flow' argument const to make
later patches cleaner.
Signed-off-by: Jarno Rajahalme <[email protected]>
Signed-off-by: Pravin B Shelar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions