summaryrefslogtreecommitdiff
path: root/io_uring/fdinfo.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-01-10 00:46:10 +0300
committerJens Axboe <axboe@kernel.dk>2023-01-10 01:46:57 +0300
commitfebb985c06cb6f5fac63598c0bffd4fd823d110d (patch)
tree16968444e582cd87e6d3a0bb95839f9f7f6132f4 /io_uring/fdinfo.c
parente6db6f9398dadcbc06318a133d4c44a2d3844e61 (diff)
downloadlinux-febb985c06cb6f5fac63598c0bffd4fd823d110d.tar.xz
io_uring/poll: add hash if ready poll request can't complete inline
If we don't, then we may lose access to it completely, leading to a request leak. This will eventually stall the ring exit process as well. Cc: stable@vger.kernel.org Fixes: 49f1c68e048f ("io_uring: optimise submission side poll_refs") Reported-and-tested-by: syzbot+6c95df01470a47fc3af4@syzkaller.appspotmail.com Link: https://lore.kernel.org/io-uring/0000000000009f829805f1ce87b2@google.com/ Suggested-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/fdinfo.c')
0 files changed, 0 insertions, 0 deletions