build: support for Linux 4.16

This commit is contained in:
Jan Engelhardt
2018-02-12 15:10:47 +01:00
parent bf63a25a64
commit 2e78cf03a4
3 changed files with 6 additions and 5 deletions

View File

@@ -12,16 +12,17 @@ in combination with the kernel's Kbuild system.
Supported configurations for this release Supported configurations for this release
========================================= =========================================
* iptables >= 1.4.5 * iptables >= 1.6.0
* kernel-devel >= 3.7 * kernel-devel >= 4.15
with prepared build/output directory with prepared build/output directory
- CONFIG_NF_CONNTRACK - CONFIG_NF_CONNTRACK
- CONFIG_NF_CONNTRACK_MARK enabled =y or as module (=m) - CONFIG_NF_CONNTRACK_MARK enabled =y or as module (=m)
- CONFIG_CONNECTOR y/m if you wish to receive userspace - CONFIG_CONNECTOR y/m if you wish to receive userspace
notifications from pknock through netlink/connector notifications from pknock through netlink/connector
(Use xtables-addons-1.x if you need support for Linux < 3.7.) (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.)
Selecting extensions Selecting extensions

View File

@@ -57,7 +57,7 @@ if test -n "$kbuilddir"; then
echo "WARNING: Version detection did not succeed. Continue at own luck."; echo "WARNING: Version detection did not succeed. Continue at own luck.";
else else
echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir"; echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir";
if test "$kmajor" -gt 4 -o "$kmajor" -eq 4 -a "$kminor" -gt 15; then if test "$kmajor" -gt 4 -o "$kmajor" -eq 4 -a "$kminor" -gt 16; then
echo "WARNING: That kernel version is not officially supported yet. Continue at own luck."; echo "WARNING: That kernel version is not officially supported yet. Continue at own luck.";
elif test "$kmajor" -eq 4 -a "$kminor" -ge 15; then elif test "$kmajor" -eq 4 -a "$kminor" -ge 15; then
: :

View File

@@ -2,7 +2,7 @@
HEAD HEAD
==== ====
Enhancements: Enhancements:
- support for Linux up to 4.15 - support for Linux 4.15, 4.16
Changes: Changes:
- remove support for Linux 3.7--4.14 - remove support for Linux 3.7--4.14