build: remove support for Linux 4.8

This commit is contained in:
Jan Engelhardt
2018-02-12 14:57:21 +01:00
parent 5339fcc65b
commit ed8e496750
4 changed files with 4 additions and 9 deletions

View File

@@ -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