diff --git a/configure.ac b/configure.ac index 0c0dda7..b759481 100644 --- a/configure.ac +++ b/configure.ac @@ -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 14; then + elif test "$kmajor" -eq 3 -a "$kminor" -ge 15; then :; else echo "WARNING: That kernel version is not officially supported."; diff --git a/doc/changelog.txt b/doc/changelog.txt index 6dd1b08..7b8fe58 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--3.13 +- remove support for Linux 3.7--3.14 v2.14 (2017-11-22) diff --git a/extensions/compat_xtables.h b/extensions/compat_xtables.h index a5e8ce3..92bedff 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(3, 14, 0) -# warning Kernels below 3.14 not supported. +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 15, 0) +# warning Kernels below 3.15 not supported. #endif #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE) diff --git a/extensions/pknock/xt_pknock.c b/extensions/pknock/xt_pknock.c index 3f47d9b..7be0345 100644 --- a/extensions/pknock/xt_pknock.c +++ b/extensions/pknock/xt_pknock.c @@ -710,13 +710,7 @@ msg_to_userspace_nl(const struct xt_pknock_mtinfo *info, scnprintf(msg.rule_name, info->rule_name_len + 1, info->rule_name); memcpy(m + 1, &msg, m->len); - -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0) cn_netlink_send(m, 0, multicast_group, GFP_ATOMIC); -#else - cn_netlink_send(m, multicast_group, GFP_ATOMIC); -#endif - kfree(m); #endif return true;