Serge E. Hallyn <serue@xxxxxxxxxx> wrote: > It's called under uidhash_lock spinlock so should be ok, but in > principle you're right so it's probably a good idea. The lock is nothing to do with it. put_user_ns() may call kfree() on the user_namespace, but the user_struct given to uid_hash_remove() may still be attached to it. David _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers