X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Fgso.h;h=b83a4c3c81432a69fa82e937a48c9606dd3a957b;hb=29c71cfa0c137abd49bfa346c1b871d2543071ae;hp=44fd213f0a81412d0cfb778df6fce5e08c36771d;hpb=72310b041cfa7d8e2ee5fb585348223ac7c22497;p=sliver-openvswitch.git diff --git a/datapath/linux/compat/gso.h b/datapath/linux/compat/gso.h index 44fd213f0..b83a4c3c8 100644 --- a/datapath/linux/compat/gso.h +++ b/datapath/linux/compat/gso.h @@ -1,6 +1,9 @@ #ifndef __LINUX_GSO_WRAPPER_H #define __LINUX_GSO_WRAPPER_H +#include +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,12,0) + #include #include @@ -69,4 +72,6 @@ static inline void skb_reset_inner_headers(struct sk_buff *skb) #define ip_local_out rpl_ip_local_out int ip_local_out(struct sk_buff *skb); + +#endif /* 3.12 */ #endif