Re: [PATCH rdma-next 1/2] RDMA/core: Prevent rereg_mr for dmabuf umems

Leon Romanovsky <[email protected]>
Newsgroups org.kernel.vger.linux-rdma
Message-ID <[email protected]>
On Tue, 28 Jul 2026 14:15:00 +0000, Jacob Moroni wrote:
> The rereg_mr method has always been explicitly blocked in
> rdma-core for dmabuf MRs anyway, so add a check to the
> ib_umem_check_rereg helper so that each driver doesn't need
> to handle it.
> 
> Depending on how the driver handled rereg_mr, this also
> has the benefit of preventing rereg_mr from being used
> to add the IB_ACCESS_MW_BIND flag to a dmabuf MR. This
> flag is not allowed during registration, so it seems
> sensible to prevent it from being added back with rereg_mr.
> 
> [...]

Applied, thanks!

[1/2] RDMA/core: Prevent rereg_mr for dmabuf umems
      https://git.kernel.org/rdma/rdma/c/09d09e5d79f317
[2/2] RDMA/irdma: Remove dmabuf checks in rereg_mr
      https://git.kernel.org/rdma/rdma/c/d24ce259185e76

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.