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

dev at openvswitch.org dev at openvswitch.org
Thu Feb 13 21:15: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.1 has been updated
       via  b05dd42a168e0e028748f8de7d4a63b761b2d687 (commit)
      from  88e2419e2d4366363ad29e23e4038757d895d350 (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 b05dd42a168e0e028748f8de7d4a63b761b2d687
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b05dd42a168e0e028748f8de7d4a63b761b2d687
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