On Fri, 24 May 2013, Joe Lawrence wrote: > From 22307be1bc6e404622b1f074094902e385a1bd30 Mon Sep 17 00:00:00 2001 > From: Joe Lawrence <joe.lawrence@xxxxxxxxxxx> > 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.lawrence@xxxxxxxxxxx> > Cc: Jens Axboe <axboe@xxxxxxxxx> > Cc: Jiri Kosina <jkosina@xxxxxxx> > Cc: "James E.J. Bottomley" <JBottomley@xxxxxxxxxxxxx> > Cc: Bart Van Assche <bvanassche@xxxxxxx> > Cc: linux-scsi@xxxxxxxxxxxxxxx > --- > block/scsi_ioctl.c | 9 ++++++++- > drivers/block/paride/pd.c | 2 ++ > drivers/block/pktcdvd.c | 2 ++ Acked-by: Jiri Kosina <jkosina@xxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html