summaryrefslogtreecommitdiff
path: root/datapath/conntrack.c
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@ovn.org>2016-02-29 09:54:15 -0800
committerPravin B Shelar <pshelar@ovn.org>2016-03-14 09:53:51 -0700
commit8063e0958780411c9ef9909925439e530cd8882d (patch)
tree97ca37459dfa831af4c227f40f280bd3ed312df2 /datapath/conntrack.c
parent0bac7164d727898492c54ab54f7e745a1d963e1e (diff)
downloadopenvswitch-8063e0958780411c9ef9909925439e530cd8882d.tar.gz
datapath: Drop support for kernel older than 3.10
Currently OVS out of tree datapath supports a large number of kernel versions. From 2.6.32 to 4.3 and various distribution-specific kernels. But at this point major features are only available on more recent kernels. For example, stateful services are only available starting in kernel 3.10 and STT is available on starting with 3.5. Since these features are becoming essential to many OVS deployments, and the effort of maintaining the backports is high. We have decided to drop support for older kernel. Following patch drops supports for kernel older than 3.10. Signed-off-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Jesse Gross <jesse@kernel.org>
Diffstat (limited to 'datapath/conntrack.c')
-rw-r--r--datapath/conntrack.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/datapath/conntrack.c b/datapath/conntrack.c
index 795ed9105..0338f9f0c 100644
--- a/datapath/conntrack.c
+++ b/datapath/conntrack.c
@@ -14,8 +14,7 @@
#include <linux/kconfig.h>
#include <linux/version.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0) && \
- IS_ENABLED(CONFIG_NF_CONNTRACK)
+#if IS_ENABLED(CONFIG_NF_CONNTRACK)
#include <linux/module.h>
#include <linux/openvswitch.h>
@@ -799,4 +798,4 @@ void ovs_ct_exit(struct net *net)
nf_connlabels_put(net);
}
-#endif /* CONFIG_NF_CONNTRACK && LINUX > 3.10 */
+#endif /* CONFIG_NF_CONNTRACK */