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

From: Leon Romanovsky

Date: Wed Jul 15 2026 - 05:10:23 EST



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 <leon@xxxxxxxxxx>