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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Seth Forshee <seth.forshee@xxxxxxxxxxxxx>

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

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

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux