summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_hbadisc.c
diff options
context:
space:
mode:
authorJames Smart2013-03-01 22:36:54 +0100
committerJames Bottomley2013-04-10 00:20:27 +0200
commit2562669cf681f155be0746f7965bbcb6753bdb64 (patch)
treed8cc910ac0839a2dc655f1b8ea32d05130ed2915 /drivers/scsi/lpfc/lpfc_hbadisc.c
parent[SCSI] scsilpfc 8.3.38: Fixed bsg timeout handling issues that would result i... (diff)
downloadkernel-qcow2-linux-2562669cf681f155be0746f7965bbcb6753bdb64.tar.gz
kernel-qcow2-linux-2562669cf681f155be0746f7965bbcb6753bdb64.tar.xz
kernel-qcow2-linux-2562669cf681f155be0746f7965bbcb6753bdb64.zip
[SCSI] lpfc 8.3.38: Fixed deadlock condition in FCF round robin handling
Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_hbadisc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
index 6e74a75fa8fd..d489a0da3c9d 100644
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -1793,6 +1793,8 @@ lpfc_sli4_fcf_rec_mbox_parse(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq,
virt_addr = mboxq->sge_array->addr[0];
shdr = (union lpfc_sli4_cfg_shdr *)virt_addr;
+ lpfc_sli_pcimem_bcopy(shdr, shdr,
+ sizeof(union lpfc_sli4_cfg_shdr));
shdr_status = bf_get(lpfc_mbox_hdr_status, &shdr->response);
shdr_add_status = bf_get(lpfc_mbox_hdr_add_status, &shdr->response);
if (shdr_status || shdr_add_status) {