Re: [PATCH] RDMA/rxe: Fix race condition in QP timer handlers
From: Leon Romanovsky
Date: Wed Jan 28 2026 - 05:03:51 EST
On Tue, Jan 27, 2026 at 09:27:27AM +0000, Zhijian Li (Fujitsu) wrote:
>
>
> On 25/01/2026 22:08, Leon Romanovsky wrote:
> >> Ensure the QP's reference count is maintained and its validity is checked
> >> within the timer callbacks by adding calls to rxe_get(qp) and corresponding
> >> rxe_put(qp) after use.
> >>
> >> Signed-off-by: Li Zhijian<lizhijian@xxxxxxxxxxx>
> > Fixes line?
>
> I believe the following `Fixes` tag is appropriate, as this commit introduced
> the WARN_ON that now triggers:
>
> Fixes: d94671632572 ("RDMA/rxe: Rewrite rxe_task.c")
>
> However, I'm not entirely certain if this race condition also existed
> before this commit, as it involved a significant rewrite.
Let's include the most recent fix. It is unlikely that anyone is still
running such an old version of RXE.
Thanks
>
> Thanks
> Zhijian
>
> >
> > Thanks