diff options
author | Maor Gottlieb <maorg@nvidia.com> | 2021-01-20 17:41:18 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-02-01 23:02:01 -0800 |
commit | a5bfe6b4675e0eefbd9418055b5cc6e89af27eb4 (patch) | |
tree | 9a1c3584aaf3a8715959153446a893f64ee295f6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ed5e83a3c02948dad9dc4e68fb4e535baa5da630 (diff) |
net/mlx5: Fix leak upon failure of rule creation
When creation of a new rule that requires allocation of an FTE fails,
need to call to tree_put_node on the FTE in order to release its'
resource.
Fixes: cefc23554fc2 ("net/mlx5: Fix FTE cleanup")
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Reviewed-by: Alaa Hleihel <alaa@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions