[Devel] [PATCH rh8 08/28] ve/sysctl/net: Include ve.h header in net/netfilter/ipvs/ip_vs_ctl.c

Konstantin Khorenko khorenko at virtuozzo.com
Tue Apr 13 11:25:18 MSK 2021


It's needed for ve_net_hide_sysctl() declaration.

To_merge: 7d2b21d858ca ("ve/sysctl/net: allow net.ipv4.vs.* in CT init
userns")

Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 net/netfilter/ipvs/ip_vs_ctl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c
index c8bf96622cdf..9f48961a0213 100644
--- a/net/netfilter/ipvs/ip_vs_ctl.c
+++ b/net/netfilter/ipvs/ip_vs_ctl.c
@@ -36,6 +36,7 @@
 #include <linux/netfilter.h>
 #include <linux/netfilter_ipv4.h>
 #include <linux/mutex.h>
+#include <linux/ve.h>
 
 #include <net/net_namespace.h>
 #include <linux/nsproxy.h>
-- 
2.28.0



More information about the Devel mailing list