aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorBob Pearson <[email protected]>2021-07-05 11:41:54 -0500
committerJason Gunthorpe <[email protected]>2021-07-15 14:44:12 -0300
commitb18c7da63fcb46e2f9a093cc18d7c219e13a887c (patch)
treea5c6f22a30c4b51ceead98508031d9850d0be343 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentc9538831b353b96cb37092c3d3e929d67fd43c5f (diff)
RDMA/rxe: Fix memory leak in error path code
In rxe_mr_init_user() at the third error the driver fails to free the memory at mr->map. This patch adds code to do that. This error only occurs if page_address() fails to return a non zero address which should never happen for 64 bit architectures. Fixes: 8700e3e7c485 ("Soft RoCE driver") Link: https://lore.kernel.org/r/[email protected] Reported by: Haakon Bugge <[email protected]> Signed-off-by: Bob Pearson <[email protected]> Reviewed-by: Zhu Yanjun <[email protected]> Reviewed-by: HÃ¥kon Bugge <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions