diff options
author | 2021-01-20 17:41:18 +0200 | |
---|---|---|
committer | 2021-02-01 23:02:01 -0800 | |
commit | a5bfe6b4675e0eefbd9418055b5cc6e89af27eb4 (patch) | |
tree | 9a1c3584aaf3a8715959153446a893f64ee295f6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net/mlx5: Fix function calculation for page trees (diff) | |
download | wireguard-linux-a5bfe6b4675e0eefbd9418055b5cc6e89af27eb4.tar.xz wireguard-linux-a5bfe6b4675e0eefbd9418055b5cc6e89af27eb4.zip |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions