diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-09 16:10:22 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-09 16:10:22 -0700 |
commit | 86fb9c53d82f1dadf960553a3bd351de6173911f (patch) | |
tree | f23200db02565f9488936dd0671a3c90976f9c97 /ipc | |
parent | c71370bde7dbd3aefae0c2e8dd643d68fb2c51c8 (diff) | |
parent | c579d60f0d0cd87552f64fdebe68b5d941d20309 (diff) | |
download | lwn-86fb9c53d82f1dadf960553a3bd351de6173911f.tar.gz lwn-86fb9c53d82f1dadf960553a3bd351de6173911f.zip |
Merge tag 'retire_mq_sysctls-for-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
Pull mqueue fix from Eric Biederman:
"A fix for an unlikely but possible memory leak"
* tag 'retire_mq_sysctls-for-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
ipc: mqueue: fix possible memory leak in init_mqueue_fs()
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/mqueue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index f98de32aeea1..9cf314b3f079 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c @@ -1746,6 +1746,7 @@ out_filesystem: unregister_filesystem(&mqueue_fs_type); out_sysctl: kmem_cache_destroy(mqueue_inode_cachep); + retire_mq_sysctls(&init_ipc_ns); return error; } |