build: support for Linux 4.12
PATCH 1/1 build: support for Linux 4.12
As a result of commit cc41c84b7e7f ("netfilter: kill the fake untracked conntrack objects") the helper nf_ct_is_untracked always returns false and commit ab8bc7ed864b ("netfilter: remove nf_ct_is_untracked") removes it all together.
Signed-off-by Ralph Sennhauser <[email protected]>
--- extensions/xt_LOGMARK.c | 2 ++ 1 file changed, 2 insertions(+)
extensions/xt_LOGMARK.c +2 -0
@@ -87,8 +87,10 @@ 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 elselogmark_ct (ct ,ctinfo );
Signature · 1 line
2.10.2
Jan Engelhardt
AppliedQuoted 4 lines · Ralph Sennhauser
As a result of commit
cc41c84b7e7f("netfilter: kill the fake untracked conntrack objects") the helpernf_ct_is_untrackedalways returns false and commitab8bc7ed864b("netfilter: removenf_ct_is_untracked") removes it all together.
Applied, thanks.