diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-06-15 13:23:05 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-06-15 14:06:09 +0300 |
commit | 2caf9822f0507463168a9e83f93c75b3e3fac971 (patch) | |
tree | ea843b2eb742890b567a0e296dea0f7d2f307d45 /ipc | |
parent | 29ede2014c87576d2fc83680aa4c1d7403db0dfe (diff) | |
download | linux-2caf9822f0507463168a9e83f93c75b3e3fac971.tar.xz |
io_uring: fix ->extra{1,2} misuse
We don't really know the state of req->extra{1,2] fields in
__io_fill_cqe_req(), if an opcode handler is not aware of CQE32 option,
it never sets them up properly. Track the state of those fields with a
request flag.
Fixes: 76c68fbf1a1f9 ("io_uring: enable CQE32")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/4b3e5be512fbf4debec7270fd485b8a3b014d464.1655287457.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions