public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v8 0/2] Fix loopback leaks and return paths
@ 2026-04-05 21:57 Prathamesh Deshpande
  2026-04-05 21:57 ` [PATCH v8 1/2] IB/mlx5: Fix success return path and mutex initialization Prathamesh Deshpande
  2026-04-05 21:57 ` [PATCH v8 2/2] IB/mlx5: Fix loopback refcounting leaks and premature disable Prathamesh Deshpande
  0 siblings, 2 replies; 3+ messages in thread
From: Prathamesh Deshpande @ 2026-04-05 21:57 UTC (permalink / raw)
  To: linux-rdma
  Cc: prathameshdeshpande7, dledford, haggaie, jgg, leon, linux-kernel

This series fixes a return-value bug in the transport domain allocation 
path and refactors the loopback enablement logic to resolve reference 
count leaks and premature hardware deactivation.

In v7, the patchset is split into two parts:
1. A direct fix for the return-value bug and mutex initialization.
2. A refactor of the loopback state machine to ensure symmetric counter 
   updates and correct hardware toggling at zero-count transitions.

The split allows for cleaner bisection and separates the immediate 
bug fixes from the lifecycle improvements identified during review.

Prathamesh Deshpande (2):
  IB/mlx5: Fix success return path and mutex initialization
  IB/mlx5: Fix loopback refcounting leaks and premature disable

 drivers/infiniband/hw/mlx5/main.c | 45 ++++++++++++++++---------------
 1 file changed, 23 insertions(+), 22 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-05 21:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-05 21:57 [PATCH v8 0/2] Fix loopback leaks and return paths Prathamesh Deshpande
2026-04-05 21:57 ` [PATCH v8 1/2] IB/mlx5: Fix success return path and mutex initialization Prathamesh Deshpande
2026-04-05 21:57 ` [PATCH v8 2/2] IB/mlx5: Fix loopback refcounting leaks and premature disable Prathamesh Deshpande

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox