summaryrefslogtreecommitdiff
path: root/datapath/linux/compat/lisp.c
diff options
context:
space:
mode:
Diffstat (limited to 'datapath/linux/compat/lisp.c')
-rw-r--r--datapath/linux/compat/lisp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/datapath/linux/compat/lisp.c b/datapath/linux/compat/lisp.c
index 4882a636a..41531adf1 100644
--- a/datapath/linux/compat/lisp.c
+++ b/datapath/linux/compat/lisp.c
@@ -597,10 +597,8 @@ static void lisp_setup(struct net_device *dev)
dev->features |= NETIF_F_RXCSUM;
dev->features |= NETIF_F_GSO_SOFTWARE;
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)
dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM;
dev->hw_features |= NETIF_F_GSO_SOFTWARE;
-#endif
#ifdef USE_UPSTREAM_TUNNEL
netif_keep_dst(dev);
#endif