Gustavo A. R. Silva e6ef6a77f5 scsi: lpfc: prevent potential null pointer dereference
Null check at line 966: if (ndlp) {, implies that ndlp might be NULL.
Functions lpfc_nlp_set_state() and lpfc_issue_els_prli() dereference
pointer ndlp. Include these function calls inside the IF block that
tests pointer ndlp.

Addresses-Coverity-ID: 1401856
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-05-31 22:45:15 -04:00
..
2017-02-22 18:41:44 -05:00
2017-04-24 09:25:49 +02:00
2017-02-22 18:41:44 -05:00
2017-02-22 18:41:44 -05:00
2017-04-24 09:25:49 +02:00
2017-02-22 18:41:44 -05:00
2017-02-22 18:41:44 -05:00
2017-04-24 09:25:49 +02: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-04-24 09:25:49 +02:00
2017-02-22 18:41:44 -05:00
2017-05-16 21:24:47 -04:00
2017-02-22 18:41:44 -05:00