datapath: Hold rcu_read_lock where we claim to.
authorJesse Gross <jesse@nicira.com>
Wed, 12 May 2010 20:45:49 +0000 (13:45 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 14 May 2010 22:10:45 +0000 (15:10 -0700)
commit9dca7bd50a93eeb26fb7e47ddb896de22f782e7b
treeb827252a520a0e32e281342676894651b8476e16
parent8819fac72b9888bec99aae656bcdb1631b99d01b
datapath: Hold rcu_read_lock where we claim to.

Many of the vport operations require that either RTNL lock or
rcu_read_lock be held.  However, operations from userspace often
hold a different lock so grab rcu_read_lock as well.
datapath/datapath.c
datapath/vport.c