[ovs-dev] [PATCH 01/10] datapath: Add missing rtnl_dereference() calls.

Ben Pfaff blp at nicira.com
Wed Dec 29 17:49:31 UTC 2010


On Tue, Dec 28, 2010 at 08:50:39PM -0800, Jesse Gross wrote:
> There are a few additional places where RCU protected pointers
> are directly dereferenced because they assume RTNL lock.  These
> were previously not reported due to some other sparse errors in
> the Linux headers files.  This adds the necessary rtnl_dereference()
> calls to make sparse happy and allow lockdep to validate.
> 
> Found with sparse.
> 
> Signed-off-by: Jesse Gross <jesse at nicira.com>

I verified that this added rtnl_dereference() annotations and didn't
change anything else.  I didn't verify that they were correct, since
presumably sparse and lockdep will tell us if they aren't.

Acked-by: Ben Pfaff <blp at nicira.com>




More information about the dev mailing list