Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit cb3b200e authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: don't attempt re-add of multishot poll request if racing

We currently allow racy updates to multishot requests, but we can end up
double adding the poll request if both completion and update does it.
Ensure that we skip re-add on the update side if someone else is
completing it.

Fixes: b69de288

 ("io_uring: allow events and user_data update of running poll requests")
Reported-by: default avatarJoakim Hassila <joj@mac.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 417b5052
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment