mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-12-06 16:13:54 +01:00
build: remove support for Linux 4.8
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
|
||||
#define DEBUGP Use__pr_debug__instead
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0)
|
||||
# warning Kernels below 4.8 not supported.
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 0)
|
||||
# warning Kernels below 4.9 not supported.
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)
|
||||
|
||||
@@ -64,12 +64,7 @@ static void logmark_ct(const struct nf_conn *ct, enum ip_conntrack_info ctinfo)
|
||||
printk("%s""CONFIRMED", prev ? "," : "");
|
||||
prev = true;
|
||||
}
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,9,0)
|
||||
printk(" lifetime=%lus", nf_ct_expires(ct) / HZ);
|
||||
#else
|
||||
printk(" lifetime=%lus",
|
||||
(jiffies - ct->timeout.expires) / HZ);
|
||||
#endif
|
||||
}
|
||||
|
||||
static unsigned int
|
||||
|
||||
Reference in New Issue
Block a user