diff options
author | James Smart <jsmart2021@gmail.com> | 2017-06-15 22:56:47 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-19 21:40:33 -0400 |
commit | 569dbe84a3e769009aa4a5d1030d000168889580 (patch) | |
tree | fef68d8873829819a1a618d36f86d93ab88295e3 /mm/mmu_context.c | |
parent | 09559e81121f9663e8f1f6ed05672c49e31be3db (diff) |
scsi: lpfc: Fix crash after firmware flash when IO is running.
OS crashes after the completion of firmware download.
Failure in posting SCSI SGL buffers because number of SGL buffers is
less than total count. Some of the pending IOs are not completed by
driver. SGL buffers for these IOs are not added back to the list.
Pending IOs are not completed because lpfc_wq_list list is initialized
before completion of pending IOs.
Postpone lpfc_wq_list reinitialization by moving
lpfc_sli4_queue_destroy() after lpfc_hba_down_post().
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'mm/mmu_context.c')
0 files changed, 0 insertions, 0 deletions