aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMark Bloch <[email protected]>2018-03-20 15:45:37 +0200
committerJason Gunthorpe <[email protected]>2018-03-21 14:22:22 -0600
commit32927e281c004c352c0b88d2975f5511e5b7cf8e (patch)
treeabfd68e23a43524f34597a6694956c1083f020a5 /tools/perf/scripts/python/export-to-postgresql.py
parente8980d67d6017c8eee8f9c35f782c4bd68e004c9 (diff)
IB/mlx5: Don't clean uninitialized UMR resources
In case we failed to create UMR resources, mark them as invalid so we won't try to destroy them on the unwind path. Add the relevant checks to destroy_umrc_res(), this is done for the unlikely event ib_register_device() or create_umr_res() err out and we try to destroy invalid objects. Fixes: 42cea83f9524 ("IB/mlx5: Fix cleanup order on unload") Signed-off-by: Mark Bloch <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions