diff options
author | James Smart <jsmart2021@gmail.com> | 2022-07-01 14:14:18 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-07-07 17:21:43 -0400 |
commit | 2f67dc7970bce3529edce93a0a14234d88b3fcd5 (patch) | |
tree | 539469926148d8392f9c97a0dc70256f273095c7 /tools/perf/scripts/python/stackcollapse.py | |
parent | 0948a9c5386095baae4012190a6b65aba684a907 (diff) |
scsi: lpfc: Fix possible memory leak when failing to issue CMF WQE
There is no corresponding free routine if lpfc_sli4_issue_wqe fails to
issue the CMF WQE in lpfc_issue_cmf_sync_wqe.
If ret_val is non-zero, then free the iocbq request structure.
Link: https://lore.kernel.org/r/20220701211425.2708-6-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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions