summaryrefslogtreecommitdiffstats
path: root/io_uring/rsrc.h
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-09-08 14:01:10 +0100
committerJens Axboe <axboe@kernel.dk>2022-09-08 08:28:38 -0600
commit3c8400532dd8305024ff6eea38707de20b1b9822 (patch)
tree09123617a3106984f311f5df155a87b6552fdf06 /io_uring/rsrc.h
parent336d28a8f38013a069f2d46e73aaa1880ef17a47 (diff)
downloadlinux-stable-3c8400532dd8305024ff6eea38707de20b1b9822.tar.gz
linux-stable-3c8400532dd8305024ff6eea38707de20b1b9822.tar.bz2
linux-stable-3c8400532dd8305024ff6eea38707de20b1b9822.zip
io_uring/net: copy addr for zc on POLL_FIRST
Every time we return from an issue handler and expect the request to be retried we should also setup it for async exec ourselves. Do that when we return on IORING_RECVSEND_POLL_FIRST in io_sendzc(), otherwise it'll re-read the address, which might be a surprise for the userspace. Fixes: 092aeedb750a9 ("io_uring: allow to pass addr into sendzc") Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/ab1d0657890d6721339c56d2e161a4bba06f85d0.1662642013.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/rsrc.h')
0 files changed, 0 insertions, 0 deletions