From d2eeac4c321baa72893ea5a1a7d769c2710bd78d Mon Sep 17 00:00:00 2001 From: Seth Forshee Date: Thu, 4 Jan 2018 18:50:49 +0100 Subject: [PATCH] build: (additional) support for Linux 4.14 Signed-off-by: Seth Forshee --- extensions/compat_xtables.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extensions/compat_xtables.h b/extensions/compat_xtables.h index d8882ac..354884e 100644 --- a/extensions/compat_xtables.h +++ b/extensions/compat_xtables.h @@ -93,4 +93,8 @@ static inline struct net *par_net(const struct xt_action_param *par) #endif } +#ifndef NF_CT_ASSERT +# define NF_CT_ASSERT(x) WARN_ON(!(x)) +#endif + #endif /* _XTABLES_COMPAT_H */