summaryrefslogtreecommitdiff
path: root/drivers/scsi/lpfc/lpfc_nvmet.c
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2018-06-26 08:24:24 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2018-07-10 22:15:08 -0400
commitd580c6137476ab307a66e278cf7dbc666230f714 (patch)
tree33a50da972c8fe4878c26172154a74518fe20f85 /drivers/scsi/lpfc/lpfc_nvmet.c
parent5cc167ddb7441013e2b5a5f47bf11af0264bb3e8 (diff)
downloadlwn-d580c6137476ab307a66e278cf7dbc666230f714.tar.gz
lwn-d580c6137476ab307a66e278cf7dbc666230f714.zip
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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nvmet.c')
0 files changed, 0 insertions, 0 deletions