[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <884a6d3c-40aa-c2a6-9981-82d48148429b@kernel.dk>
Date: Tue, 9 May 2017 08:53:52 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Paolo Valente <paolo.valente@...aro.org>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
ulf.hansson@...aro.org, linus.walleij@...aro.org,
broonie@...nel.org
Subject: Re: [PATCH BUGFIX] block, bfq: use pointer entity->sched_data only if
set
On 05/09/2017 03:37 AM, Paolo Valente wrote:
> In the function __bfq_deactivate_entity, the pointer
> entity->sched_data could happen to be used before being properly
> initialized. This led to a NULL pointer dereference. This commit fixes
> this bug by just using this pointer only where it is safe to do so.
Added, thanks.
--
Jens Axboe
Powered by blists - more mailing lists