commit | d41b65bcdc43fed82ea6b3c006a268df6c53e80d | [log] [tgz] |
---|---|---|
author | James Smart <jsmart2021@gmail.com> | Thu Jun 15 22:56:41 2017 -0700 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Jun 19 21:39:01 2017 -0400 |
tree | e089eaf58cdeec2b3b5c6a6717009ff995b4b579 | |
parent | d30ff2632333dab794d3be14e16ca8c42dfc294d [diff] |
scsi: lpfc: Fix system panic when express lane enabled. There is a null pointer dereference that can happen in the FOF interrupt handler. The driver was not setting up cq->assoc_qp_for sli4_hba->oas_cq. Initialize cq->assoc_qp before accessing it. 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>