aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2020-01-27 16:23:02 -0800
committerMartin K. Petersen <[email protected]>2020-02-10 22:46:55 -0500
commit0ab384a49c548baf132ccef249f78d9c6c506380 (patch)
tree3027d85c45ef45cc8d1ddcbfdd4d36e45cff0dc0 /tools/perf/scripts/python/netdev-times.py
parent39c4f1a965a9244c3ba60695e8ff8da065ec6ac4 (diff)
scsi: lpfc: Fix lpfc_io_buf resource leak in lpfc_get_scsi_buf_s4 error path
If a call to lpfc_get_cmd_rsp_buf_per_hdwq returns NULL (memory allocation failure), a previously allocated lpfc_io_buf resource is leaked. Fix by releasing the lpfc_io_buf resource in the failure path. Fixes: d79c9e9d4b3d ("scsi: lpfc: Support dynamic unbounded SGL lists on G7 hardware.") Cc: <[email protected]> # v5.4+ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: James Smart <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions