diff options
author | Carolina Jubran <cjubran@nvidia.com> | 2025-02-25 10:26:06 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-27 06:29:39 +0300 |
commit | 7f3528f7d2f98b70e19a6bb7b130fc82c079ac54 (patch) | |
tree | 70b95f5ab8cf6a353e679c4f0ff3803001cc58a5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2d253726ff7106b39a44483b6864398bba8a2f74 (diff) | |
download | linux-7f3528f7d2f98b70e19a6bb7b130fc82c079ac54.tar.xz |
net/mlx5: Fix vport QoS cleanup on error
When enabling vport QoS fails, the scheduling node was never freed,
causing a leak.
Add the missing free and reset the vport scheduling node pointer to
NULL.
Fixes: be034baba83e ("net/mlx5: Make vport QoS enablement more flexible for future extensions")
Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20250225072608.526866-2-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions