Commit e2c0cb7
committed
io_uring: bump poll refs to full 31-bits
The previous commit:
1bc84c40088 ("io_uring: remove poll entry from list when canceling all")
removed a potential overflow condition for the poll references. They
are currently limited to 20-bits, even if we have 31-bits available. The
upper bit is used to mark for cancelation.
Bump the poll ref space to 31-bits, making that kind of situation much
harder to trigger in general. We'll separately add overflow checking
and handling.
Fixes: aa43477 ("io_uring: poll rework")
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 61bc84c commit e2c0cb7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5793 | 5793 | | |
5794 | 5794 | | |
5795 | 5795 | | |
5796 | | - | |
| 5796 | + | |
5797 | 5797 | | |
5798 | 5798 | | |
5799 | 5799 | | |
| |||
0 commit comments