Files
linux/io_uring
Pavel Begunkov ef9f692d76 io_uring: dont remove file from msg_ring reqs
commit ef0ec1ad03 upstream.

We should not be messing with req->file outside of core paths. Clearing
it makes msg_ring non reentrant, i.e. luckily io_msg_send_fd() fails the
request on failed io_double_lock_ctx() but clearly was originally
intended to do retries instead.

Cc: stable@vger.kernel.org
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e5ac9edadb574fe33f6d727cb8f14ce68262a684.1670384893.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-04 11:26:29 +01:00
..
2022-08-12 17:01:00 -06:00
2022-12-31 13:26:53 +01:00
2022-10-21 12:39:27 +02:00
2022-12-02 17:43:12 +01:00
2022-12-31 13:26:53 +01:00