Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4ef9e11d authored by Hillf Danton's avatar Hillf Danton Committed by Linus Torvalds
Browse files

fix freeing user_struct in user cache



When racing on adding into user cache, the new allocated from mm slab
is freed without putting user namespace.

Since the user namespace is already operated by getting, putting has
to be issued.

Signed-off-by: default avatarHillf Danton <dhillf@gmail.com>
Acked-by: default avatarSerge Hallyn <serge@hallyn.com>
Cc: stable@kernel.org
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 387c31c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment