X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=datapath%2Fdatapath.h;h=89ba80f9e5b76056a1b316b45b0d0074eca7775c;hb=780ec6aea9f2c664953c3c84468d77f6daf53925;hp=879a8309c288c057b8873429f719f4e1fac30253;hpb=61bf6666bec930dbfbf26c832199af93d0c5d6d1;p=cascardo%2Fovs.git diff --git a/datapath/datapath.h b/datapath/datapath.h index 879a8309c..89ba80f9e 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -148,6 +148,8 @@ int lockdep_ovsl_is_held(void); #define ASSERT_OVSL() WARN_ON(unlikely(!lockdep_ovsl_is_held())) #define ovsl_dereference(p) \ rcu_dereference_protected(p, lockdep_ovsl_is_held()) +#define rcu_dereference_ovsl(p) \ + rcu_dereference_check(p, lockdep_ovsl_is_held()) static inline struct net *ovs_dp_get_net(struct datapath *dp) {