commit | b9d69371e8fa90fa3ab100f4fcb4815b13b3673a | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Wed Nov 13 03:26:01 2024 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Nov 13 07:38:04 2024 -0700 |
tree | fdf701ddaf100750b097c955c3937fe16f99d15f | |
parent | a43e236fb9aef4528f2bd24095d1f348030f5d9d [diff] |
io_uring: fix invalid hybrid polling ctx leaks It has already allocated the ctx by the point where it checks the hybrid poll configuration, plain return leaks the memory. Fixes: 01ee194d1aba1 ("io_uring: add support for hybrid IOPOLL") Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Reviewed-by: Anuj Gupta <anuj20.g@samsung.com> Link: https://lore.kernel.org/r/b57f2608088020501d352fcdeebdb949e281d65b.1731468230.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>