commit | e302f1046f4c209291b07ff7bc4d15ca26891f16 | [log] [tgz] |
---|---|---|
author | Hao Xu <haoxu@linux.alibaba.com> | Thu Nov 25 17:21:02 2021 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Nov 25 09:00:42 2021 -0700 |
tree | fc871b3af2c22a0ae6cce0de9e2c685558442449 | |
parent | 5562a8d71aa32ea27133d8b10406b3dcd57c01a5 [diff] |
io_uring: fix no lock protection for ctx->cq_extra ctx->cq_extra should be protected by completion lock so that the req_need_defer() does the right check. Cc: stable@vger.kernel.org Signed-off-by: Hao Xu <haoxu@linux.alibaba.com> Link: https://lore.kernel.org/r/20211125092103.224502-2-haoxu@linux.alibaba.com Signed-off-by: Jens Axboe <axboe@kernel.dk>