[SCSI] fix use-after-free in scsi_init_io()
authorJames Bottomley <James.Bottomley@suse.de>
Mon, 16 Aug 2010 15:06:26 +0000 (10:06 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 9 Sep 2010 14:58:18 +0000 (09:58 -0500)
we're using a pointer through a freed command to reset the request,
which has shown up as an oops with slab poisoning:

Reported-by: Tejun Heo <tj@kernel.org>
Reported-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found