Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io_uring: Fix race for sqes with userspace
io_ring_submit() finalises with 1. io_commit_sqring(), which releases sqes to the userspace 2. Then calls to io_queue_link_head(), accessing released head's sqe Reorder them. Signed-off-by: Pavel Begunkov <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information