Re: [PATCH] RDMA/mlx5: Constify struct ib_frmr_pool_ops and dma_buf_attach_ops

Leon Romanovsky <[email protected]> Wed, 15 Jul 2026 05:09:09 -0400
Newsgroups org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel,org.kernel.vger.linux-rdma
Message-ID <[email protected]>
On Tue, 14 Jul 2026 10:19:06 +0200, Christophe JAILLET wrote:
> 'struct ib_frmr_pool_ops' and 'struct dma_buf_attach_ops' are not modified
> in this driver.
> 
> Constifying these structures moves some data to a read-only section, so
> increases overall security, especially when the structure holds some
> function pointers.
> 
> [...]

Applied, thanks!

[1/1] RDMA/mlx5: Constify struct ib_frmr_pool_ops and dma_buf_attach_ops
      https://git.kernel.org/rdma/rdma/c/dcae56cfecc6e1

Best regards,
-- 
Leon Romanovsky <[email protected]>