On Fri, 24 May 2013, Joe Lawrence wrote:

> From 22307be1bc6e404622b1f074094902e385a1bd30 Mon Sep 17 00:00:00 2001
> From: Joe Lawrence <joe.lawre...@stratus.com>
> Date: Fri, 24 May 2013 12:39:04 -0400
> Subject: [PATCH v5 1/2] block,scsi: verify return pointer from blk_get_request
> 
> The blk-core dead queue checks introduced in commit 70460571 added an
> error scenario to blk_get_request that returns NULL if the request queue
> has been shutdown. This changed the behavior for __GFP_WAIT callers, who
> should now verify the return value before dereferencing.
> 
> Signed-off-by: Joe Lawrence <joe.lawre...@stratus.com>
> Cc: Jens Axboe <ax...@kernel.dk>
> Cc: Jiri Kosina <jkos...@suse.cz>
> Cc: "James E.J. Bottomley" <jbottom...@parallels.com>
> Cc: Bart Van Assche <bvanass...@acm.org>
> Cc: linux-scsi@vger.kernel.org
> ---
>  block/scsi_ioctl.c        | 9 ++++++++-
>  drivers/block/paride/pd.c | 2 ++
>  drivers/block/pktcdvd.c   | 2 ++

Acked-by: Jiri Kosina <jkos...@suse.cz>

for the pktdvd.c change.

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to