Commit b9d6937
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: 01ee194 ("io_uring: add support for hybrid IOPOLL")
Signed-off-by: Pavel Begunkov <[email protected]>
Reviewed-by: Anuj Gupta <[email protected]>
Link: https://lore.kernel.org/r/b57f2608088020501d352fcdeebdb949e281d65b.1731468230.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>1 parent a43e236 commit b9d6937
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3616 | 3616 | | |
3617 | 3617 | | |
3618 | 3618 | | |
3619 | | - | |
3620 | | - | |
3621 | | - | |
3622 | | - | |
3623 | | - | |
3624 | 3619 | | |
3625 | 3620 | | |
3626 | 3621 | | |
| |||
3671 | 3666 | | |
3672 | 3667 | | |
3673 | 3668 | | |
| 3669 | + | |
| 3670 | + | |
| 3671 | + | |
| 3672 | + | |
| 3673 | + | |
3674 | 3674 | | |
3675 | 3675 | | |
3676 | 3676 | | |
| |||
0 commit comments