Fixed system panic during handling unsolicited receive buffer error condition


Signed-off-by: James Smart <james.sm...@emulex.com>

 ---

 lpfc_sli.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff -upNr a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
--- a/drivers/scsi/lpfc/lpfc_sli.c      2013-05-03 09:24:34.000000000 -0400
+++ b/drivers/scsi/lpfc/lpfc_sli.c      2013-05-31 10:58:14.126057545 -0400
@@ -3279,7 +3279,7 @@ lpfc_sli_sp_handle_rspiocb(struct lpfc_h
                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);



--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to