Re: [PATCH] RDMA/ucma: Allow path records to exactly fit the output buffer

Leon Romanovsky <[email protected]>
Newsgroups org.kernel.vger.linux-rdma,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.