[Devel] [PATCH vz7 5/5] nf_conntrack: expose "nf_conntrack_events*" in contaners
Stanislav Kinsburskiy
skinsbursky at odin.com
Tue Oct 6 10:45:03 PDT 2015
From: Stanislav Kinsburskiy <skinsbursky at parallels.com>
Signed-off-by: Stanislav Kinsburskiy <skinsbursky at parallels.com>
---
net/netfilter/nf_conntrack_ecache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/netfilter/nf_conntrack_ecache.c b/net/netfilter/nf_conntrack_ecache.c
index 1df1761..c605daa 100644
--- a/net/netfilter/nf_conntrack_ecache.c
+++ b/net/netfilter/nf_conntrack_ecache.c
@@ -199,7 +199,7 @@ static int nf_conntrack_event_init_sysctl(struct net *net)
table[1].data = &net->ct.sysctl_events_retry_timeout;
/* Don't export sysctls to unprivileged users */
- if (net->user_ns != &init_user_ns)
+ if (nf_conntrack_hide_sysctl(net))
table[0].procname = NULL;
net->ct.event_sysctl_header =
More information about the Devel
mailing list