summaryrefslogtreecommitdiffstats
path: root/include/net/net_namespace.h
diff options
context:
space:
mode:
authorEric W. Biederman2016-08-08 21:33:23 +0200
committerEric W. Biederman2016-08-08 21:42:04 +0200
commit703286608a220d53584cca5986aad5305eec75ed (patch)
tree2f0476d44dcd98e891697ef7aaef9653b06b1b4e /include/net/net_namespace.h
parentcgroupns: Add a limit on the number of cgroup namespaces (diff)
downloadkernel-qcow2-linux-703286608a220d53584cca5986aad5305eec75ed.tar.gz
kernel-qcow2-linux-703286608a220d53584cca5986aad5305eec75ed.tar.xz
kernel-qcow2-linux-703286608a220d53584cca5986aad5305eec75ed.zip
netns: Add a limit on the number of net namespaces
Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r--include/net/net_namespace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 0933c7455a30..fc4f757107df 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -60,6 +60,7 @@ struct net {
struct list_head exit_list; /* Use only net_mutex */
struct user_namespace *user_ns; /* Owning user namespace */
+ struct ucounts *ucounts;
spinlock_t nsid_lock;
struct idr netns_ids;