linux/io_uring
Jens Axboe deaef31bc1 io_uring/net: correctly handle multishot recvmsg retry setup
If we loop for multishot receive on the initial attempt, and then abort
later on to wait for more, we miss a case where we should be copying the
io_async_msghdr from the stack to stable storage. This leads to the next
retry potentially failing, if the application had the msghdr on the
stack.

Cc: stable@vger.kernel.org
Fixes: 9bb66906f23e ("io_uring: support multishot in recvmsg")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-03-07 17:48:03 -07:00
..
2023-12-29 11:58:41 -08:00
2024-02-09 11:54:19 -07:00
2022-12-07 06:47:13 -07:00
2024-02-09 09:04:39 -07:00
2024-02-12 19:02:11 -07:00
2023-08-11 10:42:57 -06:00
2024-02-09 09:04:39 -07:00
2024-02-09 09:04:39 -07:00
2024-02-12 19:02:11 -07:00
2024-02-06 19:55:14 -07:00