diff options
author | 2020-05-26 20:34:02 +0300 | |
---|---|---|
committer | 2020-05-26 13:31:08 -0600 | |
commit | 4518a3cc273cf82efdd36522fb1f13baad173c70 (patch) | |
tree | 73d08aa2e395a8f794c0313da1f8ac6e65dc7b81 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: don't submit sqes when ctx->refs is dying (diff) | |
download | wireguard-linux-4518a3cc273cf82efdd36522fb1f13baad173c70.tar.xz wireguard-linux-4518a3cc273cf82efdd36522fb1f13baad173c70.zip |
io_uring: fix flush req->refs underflow
In io_uring_cancel_files(), after refcount_sub_and_test() leaves 0
req->refs, it calls io_put_req(), which would also put a ref. Call
io_free_req() instead.
Cc: stable@vger.kernel.org
Fixes: 2ca10259b418 ("io_uring: prune request from overflow list on flush")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions