X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Finclude%2Fnet%2Fdst.h;h=9d9e6160351db81d841b50985e93be0bcc44f1d9;hb=3d192f8e5655cbffe50356f46bd8fd8c3e8875b0;hp=f481a9d3f181f6598f7dc1932d7b4b091627cddd;hpb=22bcc0e70becd88bf895c44885d63704affe4284;p=openvswitch diff --git a/datapath/linux/compat/include/net/dst.h b/datapath/linux/compat/include/net/dst.h index f481a9d3..9d9e6160 100644 --- a/datapath/linux/compat/include/net/dst.h +++ b/datapath/linux/compat/include/net/dst.h @@ -1,8 +1,16 @@ #ifndef __NET_DST_WRAPPER_H #define __NET_DST_WRAPPER_H 1 +#include #include_next +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0) && \ + LINUX_VERSION_CODE > KERNEL_VERSION(3,0,20) + +#define dst_get_neighbour_noref dst_get_neighbour + +#endif + #ifndef HAVE_SKB_DST_ACCESSOR_FUNCS static inline void skb_dst_drop(struct sk_buff *skb)