X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Flinux-2.6%2Fcompat-2.6%2Fdev-openvswitch.c;h=5b7444bb3f20e70f581b0eb9371735afc9653ce4;hb=55cc89d6b427ca99dbc1217653033e6308318409;hp=2bec471390358175691ff75c519ffb705d187fdd;hpb=32ec73557fecb0c18193c54dc31479e4b84e2c0c;p=openvswitch diff --git a/datapath/linux-2.6/compat-2.6/dev-openvswitch.c b/datapath/linux-2.6/compat-2.6/dev-openvswitch.c index 2bec4713..5b7444bb 100644 --- a/datapath/linux-2.6/compat-2.6/dev-openvswitch.c +++ b/datapath/linux-2.6/compat-2.6/dev-openvswitch.c @@ -1,4 +1,4 @@ -#ifndef HAVE_SKB_WARN_LRO +#ifndef HAVE_DEV_DISABLE_LRO #include @@ -25,7 +25,8 @@ void dev_disable_lro(struct net_device *dev) } WARN_ON(dev->features & NETIF_F_LRO); } - +#else +void dev_disable_lro(struct net_device *dev) { } #endif /* NETIF_F_LRO */ -#endif /* HAVE_SKB_WARN_LRO */ +#endif /* HAVE_DEV_DISABLE_LRO */