Re: [PATCH v3] RDMA/rtrs: client: Fix clt_path::max_pages_per_mr calculation

From: Leon Romanovsky

Date: Tue Dec 30 2025 - 05:48:36 EST



On Mon, 29 Dec 2025 10:56:17 +0800, Honggang LI wrote:
> If device max_mr_size bits in the range [mr_page_shift+31:mr_page_shift]
> are zero, the `min3` function will set clt_path::max_pages_per_mr to
> zero.
>
> `alloc_path_reqs` will pass zero, which is invalid, as the third parameter
> to `ib_alloc_mr`.
>
> [...]

Applied, thanks!

[1/1] RDMA/rtrs: client: Fix clt_path::max_pages_per_mr calculation
https://git.kernel.org/rdma/rdma/c/43bd09d5b750f7

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>