Commit fd196a95 authored by Jens Axboe's avatar Jens Axboe Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: io_uring: add missing item types for various requests



Any read/write should grab current->nsproxy, denoted by IO_WQ_WORK_FILES
as it refers to current->files as well, and connect and recv/recvmsg,
send/sendmsg should grab current->fs which is denoted by IO_WQ_WORK_FS.

No upstream commit exists for this issue.

Bug: 268174392
Reported-by: default avatarBing-Jhong Billy Jheng <billy@starlabs.sg>
Change-Id: I5b31cf1cd6879d47c5a4f2a19e47667e788c62f6
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit df3f3bb5)
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent ebad1580
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment