From: Jarno Rajahalme Date: Sun, 16 Feb 2014 01:42:29 +0000 (-0800) Subject: openvswitch: Fix race. X-Git-Tag: v3.14-rc8~3^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42ee19e2939277a5277c307e517ce2d7ba5f0703;p=pandora-kernel.git 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 Signed-off-by: Pravin B Shelar --- Reading git-diff-tree failed