summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorKeita Suzuki <keitasuzuki.park@sslab.ics.keio.ac.jp>2020-09-11 15:51:59 +0300
committerJason Gunthorpe <jgg@nvidia.com>2020-09-18 18:45:41 +0300
commit3e45410fe3c202ffb619f301beff0644f717e132 (patch)
tree697110b35ca9488c3b46895d4deb3bb24ed7fd7f /tools/perf/scripts/python/syscall-counts.py
parent8d539c6109f203bb237c7c1eb73d4665869bab1a (diff)
downloadlinux-3e45410fe3c202ffb619f301beff0644f717e132.tar.xz
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/20200911125159.4577-1-keitasuzuki.park@sslab.ics.keio.ac.jp Signed-off-by: Keita Suzuki <keitasuzuki.park@sslab.ics.keio.ac.jp> Acked-by: Michal KalderonĀ <michal.kalderon@marvell.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions