git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Add configure test for skb_warn_if_lro().
[sliver-openvswitch.git]
/
datapath
/
linux-2.6
/
compat-2.6
/
skbuff-openvswitch.c
diff --git
a/datapath/linux-2.6/compat-2.6/skbuff-openvswitch.c
b/datapath/linux-2.6/compat-2.6/skbuff-openvswitch.c
index
a9743ad
..
7991706
100644
(file)
--- a/
datapath/linux-2.6/compat-2.6/skbuff-openvswitch.c
+++ b/
datapath/linux-2.6/compat-2.6/skbuff-openvswitch.c
@@
-1,5
+1,4
@@
-#include <linux/version.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
+#ifndef HAVE_SKB_WARN_LRO
#include <linux/netdevice.h>
#include <linux/netdevice.h>
@@
-10,4
+9,4
@@
void __skb_warn_lro_forwarding(const struct sk_buff *skb)
" while LRO is enabled\n", skb->dev->name);
}
" while LRO is enabled\n", skb->dev->name);
}
-#endif /*
kernel < 2.6.27
*/
+#endif /*
HAVE_SKB_WARN_LRO
*/