|
@@ -3590,12 +3590,14 @@ lpfc_els_free_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *elsiocb)
|
|
|
} else {
|
|
|
buf_ptr1 = (struct lpfc_dmabuf *) elsiocb->context2;
|
|
|
lpfc_els_free_data(phba, buf_ptr1);
|
|
|
+ elsiocb->context2 = NULL;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
if (elsiocb->context3) {
|
|
|
buf_ptr = (struct lpfc_dmabuf *) elsiocb->context3;
|
|
|
lpfc_els_free_bpl(phba, buf_ptr);
|
|
|
+ elsiocb->context3 = NULL;
|
|
|
}
|
|
|
lpfc_sli_release_iocbq(phba, elsiocb);
|
|
|
return 0;
|