summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2013-05-31 23:03:48 +0200
committerJames Bottomley <JBottomley@Parallels.com>2013-06-26 19:48:42 +0200
commit61f35bff15dd94ad4108c7deb8bf3fcf53d32958 (patch)
tree0a93c229360949c9d1e5e23dee079cea60615ec7 /drivers
parent[SCSI] lpfc 8.3.40: Fix BlockGuard error checking (diff)
downloadlinux-61f35bff15dd94ad4108c7deb8bf3fcf53d32958.tar.xz
linux-61f35bff15dd94ad4108c7deb8bf3fcf53d32958.zip
[SCSI] lpfc 8.3.40: Fixed system panic during handling unsolicited receive buffer error condition
Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index 572579f87de4..bd185e1bdf03 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -3279,7 +3279,7 @@ lpfc_sli_sp_handle_rspiocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring,
if (free_saveq) {
list_for_each_entry_safe(rspiocbp, next_iocb,
&saveq->list, list) {
- list_del(&rspiocbp->list);
+ list_del_init(&rspiocbp->list);
__lpfc_sli_release_iocbq(phba, rspiocbp);
}
__lpfc_sli_release_iocbq(phba, saveq);