X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Finclude%2Fnet%2Fdst.h;h=5ec3d307b7b438c7923bf69da277995d23616dbb;hb=1dba1690372b0b27906276d8372a0c1b030dc77e;hp=de74c9383b8b024b41394bf994d8d9f7fe8cbc0b;hpb=459064e7a0a0b8d3ad8a9b8cd57562d3fa750d4f;p=cascardo%2Fovs.git diff --git a/datapath/linux/compat/include/net/dst.h b/datapath/linux/compat/include/net/dst.h index de74c9383..5ec3d307b 100644 --- a/datapath/linux/compat/include/net/dst.h +++ b/datapath/linux/compat/include/net/dst.h @@ -42,7 +42,7 @@ static inline void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) { } static inline void dst_init_metrics(struct dst_entry *dst, const u32 *metrics, bool read_only) { } -#elif LINUX_VERSION_CODE < KERNEL_VERSION(4,3,0) +#elif !defined(HAVE___SKB_DST_COPY) static inline void __skb_dst_copy(struct sk_buff *nskb, unsigned long refdst) { nskb->_skb_refdst = refdst;