summaryrefslogtreecommitdiff
path: root/net/openvswitch/flow.c
diff options
context:
space:
mode:
authorJarno Rajahalme <jrajahalme@nicira.com>2014-02-16 05:42:29 +0400
committerJesse Gross <jesse@nicira.com>2014-02-16 05:42:29 +0400
commit42ee19e2939277a5277c307e517ce2d7ba5f0703 (patch)
tree57448c732f703451d3e7a96ff9e736ea62acd1dc /net/openvswitch/flow.c
parent04382a3303c22b0c536fbd0c94c1f012f2b8ed60 (diff)
downloadlinux-42ee19e2939277a5277c307e517ce2d7ba5f0703.tar.xz
openvswitch: Fix race.
ovs_vport_cmd_dump() did rcu_read_lock() only after getting the datapath, which could have been deleted in between. Resolved by taking rcu_read_lock() before the get_dp() call. Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'net/openvswitch/flow.c')
0 files changed, 0 insertions, 0 deletions