RDMA/mana_ib: boundary check before installing cq callbacks
Add a boundary check inside mana_ib_install_cq_cb to prevent index overflow. Fixes: 2a31c5a7 ("RDMA/mana_ib: Introduce mana_ib_install_cq_cb helper function") Signed-off-by:Konstantin Taranov <kotaranov@microsoft.com> Link: https://lore.kernel.org/r/1714137160-5222-5-git-send-email-kotaranov@linux.microsoft.com Reviewed-by:
Long Li <longli@microsoft.com> Signed-off-by:
Leon Romanovsky <leon@kernel.org>
Loading
Please register or sign in to comment