[Devel] [PATCH rh8 07/28] ve/sysctl/netfilter: Include ve.h header into net/netfilter/nf_conntrack_standalone.c

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


It's required for ve_net_hide_sysctl() declaration.

To_merge: a6a7972b87af ("ve/sysctl/nf_conntrack: allow expose of
priviledged sysctl inside containers")

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

diff --git a/net/netfilter/nf_conntrack_standalone.c b/net/netfilter/nf_conntrack_standalone.c
index 120a63c51618..c0e9ba243667 100644
--- a/net/netfilter/nf_conntrack_standalone.c
+++ b/net/netfilter/nf_conntrack_standalone.c
@@ -9,6 +9,7 @@
 #include <linux/percpu.h>
 #include <linux/netdevice.h>
 #include <linux/security.h>
+#include <linux/ve.h>
 #include <net/net_namespace.h>
 #ifdef CONFIG_SYSCTL
 #include <linux/sysctl.h>
-- 
2.28.0



More information about the Devel mailing list