commit | 9a472ef7a3690ac0b77ebfb04c88fa795de2adea | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Nov 05 22:31:37 2020 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Nov 05 15:36:40 2020 -0700 |
tree | 52601c2f161cccd8057364f971a070a03211d023 | |
parent | 6b47ab81c9a9b56a94882815e9949d40e4207c92 [diff] |
io_uring: fix link lookup racing with link timeout We can't just go over linked requests because it may race with linked timeouts. Take ctx->completion_lock in that case. Cc: stable@vger.kernel.org # v5.7+ Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>