Re: [PATCH] RDMA/rxe: Fix race condition in QP timer handlers

From: Zhijian Li (Fujitsu)

Date: Tue Jan 27 2026 - 04:29:45 EST




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.

Thanks
Zhijian

>
> Thanks