aboutsummaryrefslogtreecommitdiff
path: root/datapath/linux-2.6/compat-2.6/include/linux/netdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'datapath/linux-2.6/compat-2.6/include/linux/netdevice.h')
-rw-r--r--datapath/linux-2.6/compat-2.6/include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/datapath/linux-2.6/compat-2.6/include/linux/netdevice.h b/datapath/linux-2.6/compat-2.6/include/linux/netdevice.h
index b7fe8deb..2a05f370 100644
--- a/datapath/linux-2.6/compat-2.6/include/linux/netdevice.h
+++ b/datapath/linux-2.6/compat-2.6/include/linux/netdevice.h
@@ -73,7 +73,7 @@ extern void unregister_netdevice_queue(struct net_device *dev,
extern void unregister_netdevice_many(struct list_head *head);
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
+#ifndef HAVE_DEV_DISABLE_LRO
extern void dev_disable_lro(struct net_device *dev);
#endif