Searched hist:"86 ec8dbae27e5fa2b5d54f10f77286d9ef55732a" (Results 1 – 2 of 2) sorted by relevance
/linux/net/openvswitch/ |
H A D | flow.h | diff 86ec8dbae27e5fa2b5d54f10f77286d9ef55732a Mon May 05 23:17:28 CEST 2014 Jarno Rajahalme <jrajahalme@nicira.com> 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 <jrajahalme@nicira.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
|
H A D | flow.c | diff 86ec8dbae27e5fa2b5d54f10f77286d9ef55732a Mon May 05 23:17:28 CEST 2014 Jarno Rajahalme <jrajahalme@nicira.com> 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 <jrajahalme@nicira.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
|