build: remove support for Linux 4.1

This commit is contained in:
Jan Engelhardt
2018-02-12 14:53:25 +01:00
parent 10f951e61d
commit 4dbb36b723
3 changed files with 4 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ if test -n "$kbuilddir"; then
echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir";
if test "$kmajor" -gt 4 -o "$kmajor" -eq 4 -a "$kminor" -gt 12; then
echo "WARNING: That kernel version is not officially supported yet. Continue at own luck.";
elif test "$kmajor" -eq 4 -a "$kminor" -le 0; then
elif test "$kmajor" -eq 4 -a "$kminor" -le 1; then
echo "WARNING: That kernel version is not officially supported.";
elif test "$kmajor" -eq 4 -a "$kminor" -le 10; then
:;

View File

@@ -4,7 +4,7 @@ HEAD
Enhancements:
- support for Linux up to 4.15
Changes:
- remove support for Linux 3.7--4.0
- remove support for Linux 3.7--4.1
v2.14 (2017-11-22)

View File

@@ -8,8 +8,8 @@
#define DEBUGP Use__pr_debug__instead
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 0)
# warning Kernels below 4.1 not supported.
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 2, 0)
# warning Kernels below 4.2 not supported.
#endif
#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)