aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/util.c')
-rw-r--r--ipc/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/util.c b/ipc/util.c
index fd1b50da9db8..cb017c7b9370 100644
--- a/ipc/util.c
+++ b/ipc/util.c
@@ -231,6 +231,7 @@ int ipc_addid(struct ipc_ids* ids, struct kern_ipc_perm* new, int size)
231 if(ids->seq > ids->seq_max) 231 if(ids->seq > ids->seq_max)
232 ids->seq = 0; 232 ids->seq = 0;
233 233
234 new->id = ipc_buildid(id, new->seq);
234 spin_lock_init(&new->lock); 235 spin_lock_init(&new->lock);
235 new->deleted = 0; 236 new->deleted = 0;
236 rcu_read_lock(); 237 rcu_read_lock();