mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Jason Gunthorpe <jgg@ziepe.ca>, Serhat Kumral <serhatkumral1@gmail.com>
Cc: Sean Hefty <shefty@nvidia.com>,
	linux-rdma@vger.kernel.org,  linux-kernel@vger.kernel.org
Subject: Re: [PATCH] RDMA/ucma: Allow path records to exactly fit the output buffer
Date: Thu, 13 Aug 2026 04:55:48 -0400	[thread overview]
Message-ID: <178661134856.73091.4924894012699624590.b4-ty@kernel.org> (raw)
In-Reply-To: <20260806201358.147478-1-serhatkumral1@gmail.com>


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@kernel.org>


      reply	other threads:[~2026-08-13  8:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-06 20:13 Serhat Kumral
2026-08-13  8:55 ` Leon Romanovsky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178661134856.73091.4924894012699624590.b4-ty@kernel.org \
    --to=leon@kernel.org \
    --cc=jgg@ziepe.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=serhatkumral1@gmail.com \
    --cc=shefty@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®