diff options
author | 2022-11-30 15:21:54 +0000 | |
---|---|---|
committer | 2022-11-30 10:27:22 -0700 | |
commit | c3bfb57ea7011e0c04e4b7f28cb357a551b1efb9 (patch) | |
tree | c77769f88806e45f8dd592d6780987ecd458e025 /lib/parser.c | |
parent | io_uring: remove ctx variable in io_poll_check_events (diff) | |
download | linux-rng-c3bfb57ea7011e0c04e4b7f28cb357a551b1efb9.tar.xz linux-rng-c3bfb57ea7011e0c04e4b7f28cb357a551b1efb9.zip |
io_uring: improve poll warning handling
Don't try to complete requests if their refs are broken and we've got
a warning, it's much better to drop them and potentially leaking than
double freeing.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/31edf9f96f05d03ab62c114508a231a2dce434cb.1669821213.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions