diff options
author | 2025-02-25 09:26:06 +0200 | |
---|---|---|
committer | 2025-02-26 19:29:39 -0800 | |
commit | 7f3528f7d2f98b70e19a6bb7b130fc82c079ac54 (patch) | |
tree | 70b95f5ab8cf6a353e679c4f0ff3803001cc58a5 /net/lapb/lapb_timer.c | |
parent | net: mvpp2: cls: Fixed Non IP flow, with vlan tag flow defination. (diff) | |
download | wireguard-linux-7f3528f7d2f98b70e19a6bb7b130fc82c079ac54.tar.xz wireguard-linux-7f3528f7d2f98b70e19a6bb7b130fc82c079ac54.zip |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions