aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2023-09-14 16:51:09 +0100
committerJens Axboe <[email protected]>2023-09-14 10:12:55 -0600
commitc21a8027ad8a68c340d0d58bf1cc61dcb0bc4d2f (patch)
tree840d2d18d307e2332f7a498ac854737e2621e66d /tools/testing/selftests/net
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
io_uring/net: fix iter retargeting for selected buf
When using selected buffer feature, io_uring delays data iter setup until later. If io_setup_async_msg() is called before that it might see not correctly setup iterator. Pre-init nr_segs and judge from its state whether we repointing. Cc: [email protected] Reported-by: [email protected] Fixes: 0455d4ccec548 ("io_uring: add POLL_FIRST support for send/sendmsg and recv/recvmsg") Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net')
0 files changed, 0 insertions, 0 deletions