diff options
author | James Smart <james.smart@emulex.com> | 2012-05-09 21:19:14 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-05-17 06:10:25 -0400 |
commit | ee0f4fe17b0fda87c7f4eb3ec6e96ef8291419bd (patch) | |
tree | 946eb55e8aa32e7682b4672d73500b9b1a4b3109 /drivers/scsi/lpfc/lpfc_scsi.c | |
parent | 939723a4a680a7863fc95179b1480c5529f31d88 (diff) |
[SCSI] lpfc 8.3.31: Fix unsol abts xri lookup
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_scsi.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c index 9434b0379abe..b410555f3a83 100644 --- a/drivers/scsi/lpfc/lpfc_scsi.c +++ b/drivers/scsi/lpfc/lpfc_scsi.c | |||
@@ -696,7 +696,8 @@ lpfc_sli4_fcp_xri_aborted(struct lpfc_hba *phba, | |||
696 | rrq_empty = list_empty(&phba->active_rrq_list); | 696 | rrq_empty = list_empty(&phba->active_rrq_list); |
697 | spin_unlock_irqrestore(&phba->hbalock, iflag); | 697 | spin_unlock_irqrestore(&phba->hbalock, iflag); |
698 | if (ndlp) { | 698 | if (ndlp) { |
699 | lpfc_set_rrq_active(phba, ndlp, xri, rxid, 1); | 699 | lpfc_set_rrq_active(phba, ndlp, |
700 | psb->cur_iocbq.sli4_lxritag, rxid, 1); | ||
700 | lpfc_sli4_abts_err_handler(phba, ndlp, axri); | 701 | lpfc_sli4_abts_err_handler(phba, ndlp, axri); |
701 | } | 702 | } |
702 | lpfc_release_scsi_buf_s4(phba, psb); | 703 | lpfc_release_scsi_buf_s4(phba, psb); |
@@ -1099,7 +1100,7 @@ lpfc_get_scsi_buf_s4(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp) | |||
1099 | list_for_each_entry(lpfc_cmd, &phba->lpfc_scsi_buf_list, | 1100 | list_for_each_entry(lpfc_cmd, &phba->lpfc_scsi_buf_list, |
1100 | list) { | 1101 | list) { |
1101 | if (lpfc_test_rrq_active(phba, ndlp, | 1102 | if (lpfc_test_rrq_active(phba, ndlp, |
1102 | lpfc_cmd->cur_iocbq.sli4_xritag)) | 1103 | lpfc_cmd->cur_iocbq.sli4_lxritag)) |
1103 | continue; | 1104 | continue; |
1104 | list_del(&lpfc_cmd->list); | 1105 | list_del(&lpfc_cmd->list); |
1105 | found = 1; | 1106 | found = 1; |
@@ -3758,8 +3759,8 @@ lpfc_scsi_cmd_iocb_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *pIocbIn, | |||
3758 | * ABTS we cannot generate and RRQ. | 3759 | * ABTS we cannot generate and RRQ. |
3759 | */ | 3760 | */ |
3760 | lpfc_set_rrq_active(phba, pnode, | 3761 | lpfc_set_rrq_active(phba, pnode, |
3761 | lpfc_cmd->cur_iocbq.sli4_xritag, | 3762 | lpfc_cmd->cur_iocbq.sli4_lxritag, |
3762 | 0, 0); | 3763 | 0, 0); |
3763 | } | 3764 | } |
3764 | /* else: fall through */ | 3765 | /* else: fall through */ |
3765 | default: | 3766 | default: |