shmget: Make shmobj underwent IPC_RMID invisible to shmget
Refs: #926 Change-Id: I16120623b581da5d5d484fd05d5111788c8ad5e2
This commit is contained in:
committed by
Masamichi Takagi
parent
229b041320
commit
9bb8076dc0
@@ -295,6 +295,7 @@ void shmobj_destroy(struct shmobj *obj)
|
||||
--the_shm_info.used_ids;
|
||||
|
||||
list_add(&obj->chain, &kds_free_list);
|
||||
/* For index reuse, release in descending order of index. */
|
||||
for (;;) {
|
||||
struct shmobj *p;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user