[Devel] [RFC 52/54] xt_wdog_tmo: fix CONFIG_VE=n build
Eva Kurchatova
eva.kurchatova at virtuozzo.com
Wed Apr 29 22:58:52 MSK 2026
Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>
---
net/netfilter/xt_wdog_tmo.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/net/netfilter/xt_wdog_tmo.c b/net/netfilter/xt_wdog_tmo.c
index a8d8c7dd9f9c..e5e54d4198f6 100644
--- a/net/netfilter/xt_wdog_tmo.c
+++ b/net/netfilter/xt_wdog_tmo.c
@@ -6,6 +6,14 @@
*
*/
+
+/*
+ * !!!
+ * TODO: It would be much better to disable this module build via Makefile,
+ * but it seems to be recognized as part of netfilter by the build system
+ */
+#ifdef CONFIG_VE
+
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/file.h>
@@ -54,3 +62,5 @@ MODULE_DESCRIPTION("Xtables: fence watchdog timeout matching");
MODULE_LICENSE("GPL");
MODULE_ALIAS("ipt_wdog_tmo");
MODULE_ALIAS("ip6t_wdog_tmo");
+
+#endif
--
2.54.0
More information about the Devel
mailing list