From f4f3f9860916d2ec88eb8339680d9ca0f64d41a4 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 12 Feb 2018 15:01:38 +0100 Subject: [PATCH] build: remove support for Linux 4.10 --- configure.ac | 8 +++----- doc/changelog.txt | 2 +- extensions/compat_xtables.h | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 7438472..342d096 100644 --- a/configure.ac +++ b/configure.ac @@ -57,12 +57,10 @@ if test -n "$kbuilddir"; then echo "WARNING: Version detection did not succeed. Continue at own luck."; else echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir"; - if test "$kmajor" -gt 4 -o "$kmajor" -eq 4 -a "$kminor" -gt 12; then + if test "$kmajor" -gt 4 -o "$kmajor" -eq 4 -a "$kminor" -gt 15; then echo "WARNING: That kernel version is not officially supported yet. Continue at own luck."; - elif test "$kmajor" -eq 4 -a "$kminor" -le 9; then - echo "WARNING: That kernel version is not officially supported."; - elif test "$kmajor" -eq 4 -a "$kminor" -le 10; then - :; + elif test "$kmajor" -eq 4 -a "$kminor" -ge 11; then + : else echo "WARNING: That kernel version is not officially supported."; fi; diff --git a/doc/changelog.txt b/doc/changelog.txt index 29102c3..cbaf3f0 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -4,7 +4,7 @@ HEAD Enhancements: - support for Linux up to 4.15 Changes: -- remove support for Linux 3.7--4.9 +- remove support for Linux 3.7--4.10 v2.14 (2017-11-22) diff --git a/extensions/compat_xtables.h b/extensions/compat_xtables.h index 2286aa2..f8339a4 100644 --- a/extensions/compat_xtables.h +++ b/extensions/compat_xtables.h @@ -8,8 +8,8 @@ #define DEBUGP Use__pr_debug__instead -#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0) -# warning Kernels below 4.10 not supported. +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0) +# warning Kernels below 4.11 not supported. #endif #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)