diff options
| author | Carolina Jubran <[email protected]> | 2025-02-25 07:26:06 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-27 03:29:39 +0000 |
| commit | 7f3528f7d2f98b70e19a6bb7b130fc82c079ac54 (patch) | |
| tree | 70b95f5ab8cf6a353e679c4f0ff3803001cc58a5 /net/unix/af_unix.c | |
| parent | net: mvpp2: cls: Fixed Non IP flow, with vlan tag flow defination. (diff) | |
| download | kernel-7f3528f7d2f98b70e19a6bb7b130fc82c079ac54.tar.gz kernel-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 <[email protected]>
Reviewed-by: Cosmin Ratiu <[email protected]>
Reviewed-by: Dragos Tatulea <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
