datapath: Re-designate OVS_FRAGMENT_BACKPORT.
[cascardo/ovs.git] / acinclude.m4
index 93fab5d..dc06be6 100644 (file)
@@ -551,7 +551,10 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [
   OVS_GREP_IFELSE([$KSRC/include/linux/utsrelease.h], [el6],
                   [OVS_DEFINE([HAVE_RHEL6_PER_CPU])])
 
-  if test "$version" = 4 && test "$patchlevel" -le 2; then
+  dnl Conntrack support, and therefore, IP fragment handling backport, should
+  dnl only be enabled on kernels 3.10+. In future when OVS drops support for
+  dnl kernels older than 3.10, this macro could be removed from the codebase.
+  if test "$version" = 4; then
         OVS_DEFINE([OVS_FRAGMENT_BACKPORT])
   elif test "$version" = 3 && test "$patchlevel" -ge 10; then
         OVS_DEFINE([OVS_FRAGMENT_BACKPORT])