aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorKeita Suzuki <[email protected]>2020-09-11 12:51:59 +0000
committerJason Gunthorpe <[email protected]>2020-09-18 12:45:41 -0300
commit3e45410fe3c202ffb619f301beff0644f717e132 (patch)
tree697110b35ca9488c3b46895d4deb3bb24ed7fd7f /tools/perf/scripts/python/mem-phys-addr.py
parent8d539c6109f203bb237c7c1eb73d4665869bab1a (diff)
RDMA/qedr: Fix resource leak in qedr_create_qp
When xa_insert() fails, the acquired resource in qedr_create_qp should also be freed. However, current implementation does not handle the error. Fix this by adding a new goto label that calls qedr_free_qp_resources. Fixes: 1212767e23bb ("qedr: Add wrapping generic structure for qpidr and adjust idr routines.") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Keita Suzuki <[email protected]> Acked-by: Michal KalderonĀ <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions