datapath: Add missing rtnl_dereference() calls.
authorJesse Gross <jesse@nicira.com>
Fri, 24 Dec 2010 00:28:23 +0000 (16:28 -0800)
committerJesse Gross <jesse@nicira.com>
Wed, 29 Dec 2010 17:54:21 +0000 (09:54 -0800)
commitf827d749920e1bcc275660695144d25c7adbbd4b
tree4683fb65b38beaf5a4281a69b681ec48c35bdafc
parente70f33fc8ae27732edd40841402bc38a3ca5d42a
datapath: Add missing rtnl_dereference() calls.

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@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/tunnel.c
datapath/vport-patch.c