SCSI: qla2xxx: Obtain proper host structure during response-queue processing.
commit154d9b4d57283cb6e6d446445fef805525f613ea
authorAnirban Chakraborty <anirban.chakraborty@qlogic.com>
Thu, 4 Feb 2010 22:17:59 +0000 (4 14:17 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Mar 2010 15:49:40 +0000 (15 08:49 -0700)
tree454aa5e6adeb6dd59a0a1aa121d3fd292ce5bf91
parent9c69f804cf971237938adf76b04099a3307fcc88
SCSI: qla2xxx: Obtain proper host structure during response-queue processing.

commit a67093d46e3caed1a42d694a7de452b61db30562 upstream.

Original code incorrectly assumed only status-type-0
IOCBs would be queued to the response-queue, and thus all
entries would safely reference a VHA from the IOCB
'handle.'

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_mid.c