Re: mtip32xx: add a status field to struct mtip_cmd

From: Jens Axboe
Date: Fri Apr 21 2017 - 15:20:00 EST


On 04/21/2017 08:37 AM, Christoph Hellwig wrote:
> On Fri, Apr 21, 2017 at 08:14:03AM -0600, Jens Axboe wrote:
>> From: Jens Axboe <axboe@xxxxxx>
>> Subject: [PATCH] mtip32xx: fix dereference of stack garbage
>>
>> We need to get the command payload from the request before
>> we attempt to dereference it.
>>
>> Fixes: 4dda4735c581 ("mtip32xx: add a status field to struct mtip_cmd")
>> Signed-off-by: Jens Axboe <axboe@xxxxxx>
>
> Looks fine:
>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Pushed, thanks.

--
Jens Axboe