Re: [PATCH] RDMA/ucma: Allow path records to exactly fit the output buffer
From: Leon Romanovsky
Date: Thu Aug 13 2026 - 04:57:34 EST
On Thu, 06 Aug 2026 23:13:58 +0300, Serhat Kumral wrote:
> ucma_query_path() emits a path record only when the remaining output
> buffer is strictly larger than struct ib_path_rec_data. A buffer sized
> exactly for the response header and N complete records therefore gets
> only N - 1 records, while resp->num_paths still advertises N. A caller
> sizing its buffer for a single record gets a header claiming one path
> and no path data at all.
>
> [...]
Applied, thanks!
[1/1] RDMA/ucma: Allow path records to exactly fit the output buffer
https://git.kernel.org/rdma/rdma/c/8827f0c17f50f1
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>