diff options
| author | Jens Axboe <[email protected]> | 2025-05-04 14:06:28 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-05-04 15:15:58 +0000 |
| commit | b53e523261bf058ea4a518b482222e7a277b186b (patch) | |
| tree | 8b2b9a1693416338c18406b15a0557a81b60020b /drivers/usb/cdns3/cdns3-starfive.c | |
| parent | io_uring/fdinfo: annotate racy sq/cq head/tail reads (diff) | |
| download | kernel-b53e523261bf058ea4a518b482222e7a277b186b.tar.gz kernel-b53e523261bf058ea4a518b482222e7a277b186b.zip | |
io_uring: always arm linked timeouts prior to issue
There are a few spots where linked timeouts are armed, and not all of
them adhere to the pre-arm, attempt issue, post-arm pattern. This can
be problematic if the linked request returns that it will trigger a
callback later, and does so before the linked timeout is fully armed.
Consolidate all the linked timeout handling into __io_issue_sqe(),
rather than have it spread throughout the various issue entry points.
Cc: [email protected]
Link: https://github.com/axboe/liburing/issues/1390
Reported-by: Chase Hiltz <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions
