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

dev at openvswitch.org dev at openvswitch.org
Thu Feb 13 21:09:27 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, master has been updated
       via  03fc2881382a9936f898e08d38bd8d623497409e (commit)
      from  dc43709014749ed924d4fcff63055320146cd018 (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 03fc2881382a9936f898e08d38bd8d623497409e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=03fc2881382a9936f898e08d38bd8d623497409e
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>
Signed-off-by: Pravin B Shelar <pshelar at nicira.com>


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

Open vSwitch

More information about the git mailing list