Dick Kennedy b7672ae681 scsi: lpfc: Fix crash in lpfc_nvme_fcp_io_submit during LIP
The driver is seeing a NULL pointer in lpfc_nvme_fcp_io_submit.  This
was ultimately due to a transport AER being sent on a terminated
controller, thus some of the values were not set. In case we're in a
system without a corrected transport and in case a race condition occurs
where we enter the routine as the teardown is happening in a separate
thread, validate the parameters before starting the io.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-10-02 22:46:39 -04:00
..
2017-02-22 18:41:44 -05:00
2017-02-22 18:41:44 -05:00
2017-09-07 21:11:05 -07:00
2017-02-22 18:41:44 -05:00
2017-02-22 18:41:44 -05:00
2017-02-22 18:41:44 -05:00
2017-09-07 21:11:05 -07:00
2017-02-22 18:41:44 -05:00
2017-06-12 21:37:31 -04:00
2017-02-22 18:41:44 -05:00
2017-02-22 18:41:44 -05:00