commit | f961c2b496e60214a5913857958238e6ca0e1c0e | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun Dec 06 22:22:43 2020 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 30 11:54:03 2020 +0100 |
tree | 746ee6e371b248c3291a110426db85124b463f3a | |
parent | 821d12a15cc264f3597c93dc5d44d6e9bbf9f3a3 [diff] |
io_uring: fix racy IOPOLL completions commit 31bff9a51b264df6d144931a6a5f1d6cc815ed4b upstream. IOPOLL allows buffer remove/provide requests, but they doesn't synchronise by rules of IOPOLL, namely it have to hold uring_lock. Cc: <stable@vger.kernel.org> # 5.7+ Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>