build: remove support for Linux 3.7

This commit is contained in:
Jan Engelhardt
2018-02-12 14:37:55 +01:00
parent 1b4b4347c5
commit d5eb4e586c
3 changed files with 4 additions and 6 deletions

View 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 4 -a "$kminor" -le 10; then
:;
elif test "$kmajor" -eq 3 -a "$kminor" -ge 7; then
elif test "$kmajor" -eq 3 -a "$kminor" -ge 8; then
:;
else
echo "WARNING: That kernel version is not officially supported.";

View File

@@ -3,6 +3,8 @@ HEAD
====
Enhancements:
- support for Linux up to 4.15
Changes:
- remove support for Linux 3.7
v2.14 (2017-11-22)

View File

@@ -8,12 +8,8 @@
#define DEBUGP Use__pr_debug__instead
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 7, 0)
# warning Kernels below 3.7 not supported.
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 8, 0)
# define prandom_u32() random32()
# warning Kernels below 3.8 not supported.
#endif
#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)