diff options
| author | Mark Bloch <mbloch@nvidia.com> | 2026-11-04 20:39:47 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-11-09 17:58:16 -0800 |
| commit | deceb70d1303105e4368a19b251a6fd94428eb11 (patch) | |
| tree | 5866b7ba0b9096b6044d0139c42903c04e14f32b /lib/timerqueue.c | |
| parent | 908561cc4b4db4510465f02f5323e98f2dc00fad (diff) | |
net/mlx5: Lag, free steering resources on LAG destroy failure
When firmware fails to destroy LAG, driver returns before releasing the
steering resources, leaking the associated software objects.
The bond is no longer eligible for offload, and the driver cannot
prevent its teardown. Release the steering resources even if LAG
destruction fails. Preserve the error logging and return the original
error after cleanup.
Fixes: da6b0bb0fc73 ("net/mlx5: Lag, use steering to select the affinity port in LAG")
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Shay Drori <shayd@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20261104183947.772195-1-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
