[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <be427cf7-78d4-7e19-bc16-25aeb0ab33e5@kernel.dk>
Date: Sun, 22 Mar 2020 19:28:26 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Pavel Begunkov <asml.silence@...il.com>, io-uring@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] io_uring: Fix ->data corruption on re-enqueue
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
Powered by blists - more mailing lists