RE: [PATCH] RDMA/rxe: Fix null pointer dereference in ODP MR check
From: Daisuke Matsuda (Fujitsu)
Date: Wed Apr 02 2025 - 01:13:02 EST
On Wed, April 2, 2025 12:27 PM Li Zhijian wrote:
>
> The blktests/rnbd reported a null pointer dereference as following.
> Similar to the mxl5, introduce a is_odp_mr() to check if the odp
Typo: mxl5
Can this be amended when merging?
> is enabled in this mr.
>
Thank you for the fix!
If mr type is other than IB_MR_TYPE_USER, the null pointer dereference can occur
since mr->umem is not set in that case. The fix looks good.
Reviewed-by: Daisuke Matsuda <matsuda-daisuke@xxxxxxxxxxx>