diff mbox series

[xtables-addons,1/2] build: support for Linux 4.14

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

Commit Message

Marcelo Henrique Cerri Jan. 4, 2018, 5:50 p.m. UTC
From: Seth Forshee <seth.forshee@canonical.com>

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
---
 extensions/compat_xtables.h | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

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 */