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

dev at openvswitch.org dev at openvswitch.org
Thu Feb 13 21:17:57 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-1.9 has been updated
       via  40d0c78fd19cc5d3cd6f67bb5bd43f61fc0d5853 (commit)
      from  d5d41975237c22a1f2e296ee3e04e3e5cbd5bab7 (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 40d0c78fd19cc5d3cd6f67bb5bd43f61fc0d5853
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=40d0c78fd19cc5d3cd6f67bb5bd43f61fc0d5853
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