]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
build: bump minimum supported kernel version from 4.15 to 4.16
authorJeremy Sowden <jeremy@azazel.net>
Sun, 22 Aug 2021 16:35:49 +0000 (17:35 +0100)
committerJan Engelhardt <jengelh@inai.de>
Sun, 22 Aug 2021 19:39:34 +0000 (21:39 +0200)
The next two commits make use of a function and macro that were
introduced in 4.16.

INSTALL
configure.ac
extensions/compat_xtables.h

diff --git a/INSTALL b/INSTALL
index 47320656a6e3ce8356172a0426fdc4313473d6ae..c4f8b071475f7797337eb23ae6736faf6eb0ed12 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -14,7 +14,7 @@ Supported configurations for this release
 
        * iptables >= 1.6.0
 
-       * kernel-devel >= 4.15
+       * kernel-devel >= 4.16
          with prepared build/output directory
          - CONFIG_NF_CONNTRACK
          - CONFIG_NF_CONNTRACK_MARK enabled =y or as module (=m)
@@ -22,7 +22,8 @@ Supported configurations for this release
            notifications from pknock through netlink/connector
 
 (Use xtables-addons-1.x if you need support for Linux < 3.7.
-Use xtables-addons-2.x if you need support for Linux < 4.15.)
+Use xtables-addons-2.x if you need support for Linux < 4.15.
+Use xtables-addons<3.19 if you need support for Linux <=4.16.)
 Note: xtables-addons regularly fails to build with patched-to-death
 kernels like on RHEL or SLES because the API does not match
 LINUX_KERNEL_VERSION anymore.
index 76129245f5c1f595d9c289c99f7d5aab215bceac..9705d750750ee5575790c644fd909902915b4294 100644 (file)
@@ -61,7 +61,7 @@ if test -n "$kbuilddir"; then
                        echo "WARNING: That kernel version is not officially supported yet. Continue at own luck.";
                elif test "$kmajor" -eq 5 -a "$kminor" -ge 0; then
                        :
-               elif test "$kmajor" -eq 4 -a "$kminor" -ge 15; then
+               elif test "$kmajor" -eq 4 -a "$kminor" -ge 16; then
                        :
                else
                        echo "WARNING: That kernel version is not officially supported.";
index 44ea7d3c9cd7d1d3a71b24f0e7ecf55719c2f739..eff3bde91c32191b6ecfe63013e3f34907bccfdc 100644 (file)
@@ -5,8 +5,8 @@
 
 #define DEBUGP Use__pr_debug__instead
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
-#      warning Kernels below 4.15 not supported.
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0)
+#      warning Kernels below 4.16 not supported.
 #endif
 
 #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)