summaryrefslogtreecommitdiff
path: root/include/net/netns/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/netns/core.h')
-rw-r--r--include/net/netns/core.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/net/netns/core.h b/include/net/netns/core.h
index 0ad4d0c71228..36c2d998a43c 100644
--- a/include/net/netns/core.h
+++ b/include/net/netns/core.h
@@ -11,7 +11,10 @@ struct netns_core {
int sysctl_somaxconn;
- struct prot_inuse __percpu *inuse;
+#ifdef CONFIG_PROC_FS
+ int __percpu *sock_inuse;
+ struct prot_inuse __percpu *prot_inuse;
+#endif
};
#endif