build: remove support for Linux 4.11

This commit is contained in:
Jan Engelhardt
2018-02-12 15:02:42 +01:00
parent f4f3f98609
commit 123e1a14e9
4 changed files with 4 additions and 8 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 15; then
echo "WARNING: That kernel version is not officially supported yet. Continue at own luck.";
elif test "$kmajor" -eq 4 -a "$kminor" -ge 11; then
elif test "$kmajor" -eq 4 -a "$kminor" -ge 12; then
:
else
echo "WARNING: That kernel version is not officially supported.";

View File

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

View File

@@ -8,8 +8,8 @@
#define DEBUGP Use__pr_debug__instead
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
# warning Kernels below 4.11 not supported.
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
# warning Kernels below 4.12 not supported.
#endif
#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)

View File

@@ -84,10 +84,6 @@ logmark_tg(struct sk_buff *skb, const struct xt_action_param *par)
printk(" ctdir=%s", dir_names[ctinfo >= IP_CT_IS_REPLY]);
if (ct == NULL)
printk(" ct=NULL ctmark=NULL ctstate=INVALID ctstatus=NONE");
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
else if (nf_ct_is_untracked(ct))
printk(" ct=UNTRACKED ctmark=NULL ctstate=UNTRACKED ctstatus=NONE");
#endif
else
logmark_ct(ct, ctinfo);