X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Flinux-2.6%2Fcompat-2.6%2Fskbuff-openvswitch.c;h=e639b5a183b44100909ee800126a4dd550503390;hb=4eb26d3cd41b6bcbd3e12e85bc9e4f36f47eb430;hp=a9743adc51702c27e86010b0c65deafc88a7008a;hpb=5f55c39b21e69025045437ffbd3bb98fe6ce2e89;p=openvswitch 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 a9743adc..e639b5a1 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) +#if !defined(HAVE_SKB_WARN_LRO) && defined(NETIF_F_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