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: vport: Remove compat support
[sliver-openvswitch.git]
/
datapath
/
vport-vxlan.c
diff --git
a/datapath/vport-vxlan.c
b/datapath/vport-vxlan.c
index
c614eff
..
d7dd6b8
100644
(file)
--- a/
datapath/vport-vxlan.c
+++ b/
datapath/vport-vxlan.c
@@
-20,7
+20,6
@@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/version.h>
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/version.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/in.h>
#include <linux/ip.h>
@@
-206,6
+205,3
@@
const struct vport_ops ovs_vxlan_vport_ops = {
.get_options = vxlan_get_options,
.send = vxlan_tnl_send,
};
.get_options = vxlan_get_options,
.send = vxlan_tnl_send,
};
-#else
-#warning VXLAN tunneling will not be available on kernels before 2.6.26
-#endif /* Linux kernel < 2.6.26 */