commit | d580c6137476ab307a66e278cf7dbc666230f714 | [log] [tgz] |
---|---|---|
author | James Smart <jsmart2021@gmail.com> | Tue Jun 26 08:24:24 2018 -0700 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jul 10 22:15:08 2018 -0400 |
tree | 33a50da972c8fe4878c26172154a74518fe20f85 | |
parent | 5cc167ddb7441013e2b5a5f47bf11af0264bb3e8 [diff] |
scsi: lpfc: Fix panic if driver unloaded when port is offline System crashes when the lpfc module is unloaded after making the port offline The nvme queue pointers were freed during port offline, but were later accessed in pci remove path. Validate the pointers in pci remove path before accessing them. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>