diff options
author | Hao Xu <haoxu@linux.alibaba.com> | 2021-11-25 12:21:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-03-08 21:12:33 +0300 |
commit | 1bd12b7aaee0c1c818101de4a46bb56b8fdc8ccb (patch) | |
tree | c6ff52bb01d36d08430ffe6b6efc59165388011a /tools/bpf | |
parent | 384d1b11382b4d8065a1c3ce930e88c5193f9857 (diff) | |
download | linux-1bd12b7aaee0c1c818101de4a46bb56b8fdc8ccb.tar.xz |
io_uring: fix no lock protection for ctx->cq_extra
[ Upstream commit e302f1046f4c209291b07ff7bc4d15ca26891f16 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions