projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Fix build with backported netdev_alloc_skb_ip_align()
[openvswitch]
/
datapath
/
linux-2.6
/
compat-2.6
/
dev-openvswitch.c
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 2bec471390358175691ff75c519ffb705d187fdd..5b7444bb3f20e70f581b0eb9371735afc9653ce4 100644
(file)
--- 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 <linux/netdevice.h>
#include <linux/netdevice.h>
@@
-25,7
+25,8
@@
void dev_disable_lro(struct net_device *dev)
}
WARN_ON(dev->features & NETIF_F_LRO);
}
}
WARN_ON(dev->features & NETIF_F_LRO);
}
-
+#else
+void dev_disable_lro(struct net_device *dev) { }
#endif /* NETIF_F_LRO */
#endif /* NETIF_F_LRO */
-#endif /* HAVE_
SKB_WARN
_LRO */
+#endif /* HAVE_
DEV_DISABLE
_LRO */