commit | 9faadcc8abe4b83d0263216dc3a6321d5bbd616b | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Dec 21 18:34:05 2020 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Dec 22 17:14:50 2020 -0700 |
tree | 4e076d5ad9128f9ec2434ca8f79c283d913e5460 | |
parent | a528b04ea40690ff40501f50d618a62a02b19620 [diff] |
io_uring: fix double io_uring free Once we created a file for current context during setup, we should not call io_ring_ctx_wait_and_kill() directly as it'll be done by fput(file) Cc: stable@vger.kernel.org # 5.10 Reported-by: syzbot+c9937dfb2303a5f18640@syzkaller.appspotmail.com Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> [axboe: fix unused 'ret' for !CONFIG_UNIX] Signed-off-by: Jens Axboe <axboe@kernel.dk>