X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Fgso.c;h=9ded17c63f547a1942a90dd8909a56dc9e909f19;hb=29c71cfa0c137abd49bfa346c1b871d2543071ae;hp=32f906c82d882a09fc723df9870ee530774ea770;hpb=72310b041cfa7d8e2ee5fb585348223ac7c22497;p=sliver-openvswitch.git diff --git a/datapath/linux/compat/gso.c b/datapath/linux/compat/gso.c index 32f906c82..9ded17c63 100644 --- a/datapath/linux/compat/gso.c +++ b/datapath/linux/compat/gso.c @@ -16,6 +16,9 @@ * 02110-1301, USA */ +#include +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,12,0) + #include #include #include @@ -229,3 +232,4 @@ int rpl_ip_local_out(struct sk_buff *skb) } return ret; } +#endif /* 3.12 */