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

dev at openvswitch.org dev at openvswitch.org
Thu Feb 13 21:16: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.11 has been updated
       via  d393d962f187ed1bfe19ee71b787fdbc3e50ea79 (commit)
      from  56a7cf9a9100ae9d2ce4766270753e2b4f7fb530 (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 d393d962f187ed1bfe19ee71b787fdbc3e50ea79
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d393d962f187ed1bfe19ee71b787fdbc3e50ea79
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