Commit 86fb9c53 authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'retire_mq_sysctls-for-v5.19' of...

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()
parents c71370bd c579d60f
...@@ -1746,6 +1746,7 @@ static int __init init_mqueue_fs(void) ...@@ -1746,6 +1746,7 @@ static int __init init_mqueue_fs(void)
unregister_filesystem(&mqueue_fs_type); unregister_filesystem(&mqueue_fs_type);
out_sysctl: out_sysctl:
kmem_cache_destroy(mqueue_inode_cachep); kmem_cache_destroy(mqueue_inode_cachep);
retire_mq_sysctls(&init_ipc_ns);
return error; return error;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment