aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/namespace.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/namespace.c')
-rw-r--r--ipc/namespace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipc/namespace.c b/ipc/namespace.c
index 9171d948751e..4b4dc6d847f1 100644
--- a/ipc/namespace.c
+++ b/ipc/namespace.c
@@ -25,6 +25,7 @@ static struct ipc_namespace *clone_ipc_ns(struct ipc_namespace *old_ns)
25 sem_init_ns(ns); 25 sem_init_ns(ns);
26 msg_init_ns(ns); 26 msg_init_ns(ns);
27 shm_init_ns(ns); 27 shm_init_ns(ns);
28 mq_init_ns(ns);
28 29
29 /* 30 /*
30 * msgmni has already been computed for the new ipc ns. 31 * msgmni has already been computed for the new ipc ns.
@@ -101,6 +102,7 @@ void free_ipc_ns(struct kref *kref)
101 sem_exit_ns(ns); 102 sem_exit_ns(ns);
102 msg_exit_ns(ns); 103 msg_exit_ns(ns);
103 shm_exit_ns(ns); 104 shm_exit_ns(ns);
105 mq_exit_ns(ns);
104 kfree(ns); 106 kfree(ns);
105 atomic_dec(&nr_ipc_ns); 107 atomic_dec(&nr_ipc_ns);
106 108