Re: [PATCH 1/1] io_uring: Fix ->data corruption on re-enqueue

From: Jens Axboe
Date: Sun Mar 22 2020 - 21:28:32 EST


On 3/22/20 3:23 PM, Pavel Begunkov wrote:
> work->data and work->list are shared in union. io_wq_assign_next() sets
> ->data if a req having a linked_timeout, but then io-wq may want to use
> work->list, e.g. to do re-enqueue of a request, so corrupting ->data.
>
> ->data is not necessary, just remove it and extract linked_timeout
> through @link_list.

You're missing a Fixes line again!

--
Jens Axboe