summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorPrathamesh Deshpande <prathameshdeshpande7@gmail.com>2026-04-12 02:18:49 +0100
committerLeon Romanovsky <leon@kernel.org>2026-05-18 04:58:24 -0400
commite79389115b9d27287ff6230a9750675106ed7668 (patch)
tree7545b8026062c5a5ab6221dc4da83b07b10f5df4 /scripts/objdiff
parentdd2403fe1499bdb19b818e0fc06655e9e4a59dfe (diff)
IB/mlx5: Fix transport-domain rollback and initialize lb mutex earlier
mlx5_ib_alloc_transport_domain() allocates a transport domain and then may fail in mlx5_ib_enable_lb(). In that case, the allocated TD is leaked. Fix this by deallocating the TD when mlx5_ib_enable_lb() returns an error. Also return 0 explicitly in the no-loopback-capability success branch, and move dev->lb.mutex initialization to mlx5_ib_stage_init_init(). Fixes: 146d2f1af324 ("IB/mlx5: Allocate a Transport Domain for each ucontext") Signed-off-by: Prathamesh Deshpande <prathameshdeshpande7@gmail.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions