diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-08-24 15:07:39 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-24 17:57:00 +0300 |
commit | 5a848b7c9e5e4d94390fbc391ccb81d40f3ccfb5 (patch) | |
tree | 1f96df48fb36297a2225c8ec25a05862301b6b76 /io_uring/openclose.c | |
parent | 2cacedc873ab5f5945d8f1b71804b0bcea0383ff (diff) | |
download | linux-5a848b7c9e5e4d94390fbc391ccb81d40f3ccfb5.tar.xz |
io_uring/net: fix zc send link failing
Failed requests should be marked with req_set_fail(), so links and cqe
skipping work correctly, which is missing in io_sendzc(). Note,
io_sendzc() return IOU_OK on failure, so the core code won't do the
cleanup for us.
Fixes: 06a5464be84e4 ("io_uring: wire send zc request type")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e47d46fda9db30154ce66a549bb0d3380b780520.1661342812.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/openclose.c')
0 files changed, 0 insertions, 0 deletions