X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux-2.6%2Fcompat-2.6%2Fskbuff-openvswitch.c;h=7991706531ee962f6f7e4f5484b0c00ad07ccefc;hb=14cf356bf27c3c7e52a1f8fe3d7f0ffcb19af7fb;hp=a9743adc51702c27e86010b0c65deafc88a7008a;hpb=30ea5d93dc1258c59e3ebbe090169cd3bf9ef078;p=sliver-openvswitch.git diff --git a/datapath/linux-2.6/compat-2.6/skbuff-openvswitch.c b/datapath/linux-2.6/compat-2.6/skbuff-openvswitch.c index a9743adc5..799170653 100644 --- a/datapath/linux-2.6/compat-2.6/skbuff-openvswitch.c +++ b/datapath/linux-2.6/compat-2.6/skbuff-openvswitch.c @@ -1,5 +1,4 @@ -#include -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) +#ifndef HAVE_SKB_WARN_LRO #include @@ -10,4 +9,4 @@ void __skb_warn_lro_forwarding(const struct sk_buff *skb) " while LRO is enabled\n", skb->dev->name); } -#endif /* kernel < 2.6.27 */ +#endif /* HAVE_SKB_WARN_LRO */