Re: [PATCH rdma-next] Revert "RDMA/core: Fix ib_qp_usecnt_dec() called when error"

From: Leon Romanovsky
Date: Wed Mar 16 2022 - 04:13:05 EST


On Mon, Mar 14, 2022 at 08:44:50PM -0300, Jason Gunthorpe wrote:
> On Wed, Mar 09, 2022 at 08:42:13PM +0200, Leon Romanovsky wrote:
> > From: Leon Romanovsky <leonro@xxxxxxxxxx>
> >
> > This reverts commit 7c4a539ec38f4ce400a0f3fcb5ff6c940fcd67bb. which
> > causes to the following error in mlx4.
>
> Dare I ask why this happens?

I didn't debug it, but my guess is that mistake is in relation between
xrc_qp and qp (real_qp).

Thanks

>
> Applied to for-next
>
> Thanks,
> Jason