[ovs-git] Open vSwitch: datapath: Fix recv path for CONFIG_PREEMPT_RCU. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Oct 7 02:49:32 UTC 2011

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  8a5d84f621f23ea2594248410641c037e9bc919d (commit)
      from  ad6247f508ddd80f216023b024e66537df852036 (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 8a5d84f621f23ea2594248410641c037e9bc919d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8a5d84f621f23ea2594248410641c037e9bc919d
Author: Pravin B Shelar <pshelar at nicira.com>
datapath: Fix recv path for CONFIG_PREEMPT_RCU.
        In case CONFIG_PREEMPT_RCU, rcu grace period waits only for RCU
read-side critical sections that are delimited by rcu_read_lock() and
rcu_read_unlock(). internal_dev_xmit() is called in
rcu_read_lock_bh context. Therefore we need to explicitly take rcu
lock to prevent race with call_rcu() in PREEMPT_RCU case.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


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

Open vSwitch

More information about the git mailing list