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: Fix version check in compat gre.h
[sliver-openvswitch.git]
/
datapath
/
linux
/
compat
/
include
/
net
/
gre.h
diff --git
a/datapath/linux/compat/include/net/gre.h
b/datapath/linux/compat/include/net/gre.h
index
139e4ab
..
bd0c3d4
100644
(file)
--- a/
datapath/linux/compat/include/net/gre.h
+++ b/
datapath/linux/compat/include/net/gre.h
@@
-4,10
+4,10
@@
#include <linux/skbuff.h>
#include <net/ip_tunnels.h>
#include <linux/skbuff.h>
#include <net/ip_tunnels.h>
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,37)
+#if LINUX_VERSION_CODE >
=
KERNEL_VERSION(2,6,37)
#include_next <net/gre.h>
#include_next <net/gre.h>
-#else /* LINUX_VERSION_CODE <
=
KERNEL_VERSION(2,6,37) */
+#else /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37) */
#define GREPROTO_CISCO 0
#define GREPROTO_MAX 2
#define GREPROTO_CISCO 0
#define GREPROTO_MAX 2