linux/io_uring
Pavel Begunkov 581711c466 io_uring/net: save address for sendzc async execution
We usually copy all bits that a request needs from the userspace for
async execution, so the userspace can keep them on the stack. However,
send zerocopy violates this pattern for addresses and may reloads it
e.g. from io-wq. Save the address if any in ->async_data as usual.

Reported-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/d7512d7aa9abcd36e9afe1a4d292a24cb2d157e5.1661342812.git.asml.silence@gmail.com
[axboe: fold in incremental fix]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-08-25 07:52:30 -06:00
..
2022-08-12 17:01:00 -06:00
2022-07-24 18:39:16 -06:00
2022-07-24 18:39:11 -06:00
2022-07-24 18:39:14 -06:00
2022-08-13 13:28:54 -07:00
2022-07-24 18:39:15 -06:00
2022-07-24 18:41:06 -06:00