diff options
author | Mark Bloch <[email protected]> | 2021-01-13 14:17:03 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2021-01-14 12:51:29 -0400 |
commit | 1c3aa6bd0b823105c2030af85d92d158e815d669 (patch) | |
tree | 965d72727775adb4e8bcb637f1cffd72d83673fd /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2cb091f6293df898b47f4e0f2e54324e2bbaf816 (diff) |
RDMA/mlx5: Fix wrong free of blue flame register on error
If the allocation of the fast path blue flame register fails, the driver
should free the regular blue flame register allocated a statement above,
not the one that it just failed to allocate.
Fixes: 16c1975f1032 ("IB/mlx5: Create profile infrastructure to add and remove stages")
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Hans Petter Selasky <[email protected]>
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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions