Message ID | 1515088250-32295-2-git-send-email-marcelo.cerri@canonical.com |
---|---|
State | Awaiting Upstream |
Delegated to: | Pablo Neira |
Headers | show |
Series | Compatibility fixes for linux 4.14 and 4.15 | expand |
diff --git a/extensions/compat_xtables.h b/extensions/compat_xtables.h index d8882ac7670a..354884e15e1a 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 */