datapath: Compatibility code for RCU check functions.
authorJesse Gross <jesse@nicira.com>
Mon, 6 Dec 2010 23:39:19 +0000 (15:39 -0800)
committerJesse Gross <jesse@nicira.com>
Mon, 13 Dec 2010 21:37:37 +0000 (13:37 -0800)
commit3d1c4cbe9964b749260dba64bf687d320dce64d3
tree9116dffb13be1eb2fe1b957fe78480bd231ec706
parentfb3ea74b114e7c1089dfb8851d0b5fb18aa9a6ce
datapath: Compatibility code for RCU check functions.

The rcu_dereference_rtnl() and rtnl_dereference() functions will
be introduced in 2.6.37.  They provide nice documentation of
locking expectations as well as checking on recent kernels.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/linux-2.6/compat-2.6/include/linux/rtnetlink.h