[ovs-git] Open vSwitch: datapath: Fix race. (branch-2.0)

dev at openvswitch.org dev at openvswitch.org
Thu Feb 13 21:16:21 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-2.0 has been updated
       via  51d38c2a9e3a73a48bf8178214d99b944412cca6 (commit)
      from  251241003ff0b281ac18634b1a31997c3fe17ec6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 51d38c2a9e3a73a48bf8178214d99b944412cca6
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=51d38c2a9e3a73a48bf8178214d99b944412cca6
Author: Jarno Rajahalme <jrajahalme at nicira.com>
		
datapath: 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 at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 datapath/datapath.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list