[SCSI] qla4xxx: Fixed target discovery failed issue.
authorManish Rangankar <manish.rangankar@qlogic.com>
Fri, 7 Oct 2011 23:55:50 +0000 (16:55 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 16 Oct 2011 16:11:22 +0000 (11:11 -0500)
commit69ca216e9bbbe2baf7f441ab57c5d791f439f775
treea6bda8a56d9f5beeb5a382b9f2b878092ad19f6b
parentf922da79fd602dddb169f89471e3266cc692750a
[SCSI] qla4xxx: Fixed target discovery failed issue.

When sendtargets response is greater then max receive data segment length,
the passthrough IOCB failed with data overrun status. Solution is to
allocate space for iSCSI header in the IOCB response buffer.

JIRA Key: UPSISCSI-147

Signed-off-by: Manish Rangankar <manish.rangankar@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_def.h
drivers/scsi/qla4xxx/ql4_iocb.c
drivers/scsi/qla4xxx/ql4_os.c