diff options
| author | 2026-06-01 05:58:18 -0400 | |
|---|---|---|
| committer | 2026-06-05 13:41:48 -0300 | |
| commit | 0d32eabccbe4b2f8d45be3192c5f3c76c8af703d (patch) | |
| tree | 2ddb0424b4dd8970280f8a78696559e2c3f90025 /scripts/Makefile.thinlto | |
| parent | RDMA/mlx5: Fix error propagation in __mlx5_ib_add (diff) | |
RDMA/mlx5: Fix state and counter desync on loopback enable failure
In mlx5_ib_enable_lb(), dev->lb.enabled was unconditionally set
to true even if mlx5_nic_vport_update_local_lb() failed.
Fix this by only setting dev->lb.enabled on success. On failure,
roll back the reference counters and return the error.
Link: https://patch.msgid.link/r/20260601095818.2227-1-lirongqing@baidu.com
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
