diff options
author | 2022-04-26 11:14:19 -0700 | |
---|---|---|
committer | 2022-04-26 22:24:28 -0400 | |
commit | 646db1a560f44236b7278b822ca99a1d3b6ea72c (patch) | |
tree | bd37350f928ae4041a7ea525431e784fff1de2e3 /drivers/scsi/mpi3mr/mpi3mr_debug.h | |
parent | scsi: lpfc: Remove unnecessary null ndlp check in lpfc_sli_prep_wqe() (diff) | |
download | linux-dev-646db1a560f44236b7278b822ca99a1d3b6ea72c.tar.xz linux-dev-646db1a560f44236b7278b822ca99a1d3b6ea72c.zip |
scsi: lpfc: Fix resource leak in lpfc_sli4_send_seq_to_ulp()
If no handler is found in lpfc_complete_unsol_iocb() to match the rctl of a
received frame, the frame is dropped and resources are leaked.
Fix by returning resources when discarding an unhandled frame type. Update
lpfc_fc_frame_check() handling of NOP basic link service.
Link: https://lore.kernel.org/r/20220426181419.9154-1-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpi3mr/mpi3mr_debug.h')
0 files changed, 0 insertions, 0 deletions