datapath: Fix build issue with LRO.
authorJesse Gross <jesse@nicira.com>
Thu, 6 May 2010 20:37:49 +0000 (13:37 -0700)
committerJesse Gross <jesse@nicira.com>
Thu, 6 May 2010 20:44:01 +0000 (13:44 -0700)
The last commit added a configure test for skb_warn_if_lro() but
reversed an #ifdef causing a function to be compiled when it wasn't
needed.

datapath/linux-2.6/compat-2.6/dev-openvswitch.c

index 180b72a47be6f6d87a121651abd26cfa6d7ccadd..2bec471390358175691ff75c519ffb705d187fdd 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <linux/netdevice.h>
 
-#ifndef NETIF_F_LRO
+#ifdef NETIF_F_LRO
 #include <linux/ethtool.h>
 
 /**