[SCSI] qla4xxx: Properly handle SCSI underrun while processing status IOCBs.
authorLalit Chandivade <lalit.chandivade@qlogic.com>
Tue, 7 Aug 2012 11:57:16 +0000 (07:57 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 14 Sep 2012 16:59:21 +0000 (17:59 +0100)
commit24c14200947d0c2ca6943fe0353438c3ac9c1c2a
tree361cd82ef814fb5412114aed9ed5c68ad4f1c487
parent80c53e649d23c3eedb5047c4dcbe8a70b9f99202
[SCSI] qla4xxx: Properly handle SCSI underrun while processing status IOCBs.

The current code would incorrectly return a DID_OK for a
CHECK CONDITION with Recovered error sense key causing incorrect
completion of a command when there is a dropped frame.

Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com>
Signed-off-by: Tej Parkash <tej.parkash@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_isr.c