diff options
author | Manish Rangankar <manish.rangankar@qlogic.com> | 2011-10-07 16:55:50 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-10-16 11:11:22 -0500 |
commit | 69ca216e9bbbe2baf7f441ab57c5d791f439f775 (patch) | |
tree | a6bda8a56d9f5beeb5a382b9f2b878092ad19f6b /drivers/scsi/qla4xxx/ql4_def.h | |
parent | f922da79fd602dddb169f89471e3266cc692750a (diff) | |
download | kernel-common-69ca216e9bbbe2baf7f441ab57c5d791f439f775.tar.gz kernel-common-69ca216e9bbbe2baf7f441ab57c5d791f439f775.tar.bz2 kernel-common-69ca216e9bbbe2baf7f441ab57c5d791f439f775.zip |
[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>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_def.h')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_def.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_def.h b/drivers/scsi/qla4xxx/ql4_def.h index fcb1dff9bc19..ace637bf254e 100644 --- a/drivers/scsi/qla4xxx/ql4_def.h +++ b/drivers/scsi/qla4xxx/ql4_def.h @@ -631,6 +631,7 @@ struct ql4_task_data { dma_addr_t data_dma; void *req_buffer; dma_addr_t req_dma; + uint32_t req_len; void *resp_buffer; dma_addr_t resp_dma; uint32_t resp_len; |