aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorKonstantin Taranov <[email protected]>2024-04-26 13:12:39 +0000
committerLeon Romanovsky <[email protected]>2024-05-05 12:27:23 +0000
commitf79edef79b6a2161f4124112f9b0c46891bb0b74 (patch)
treeb5f61f77a388463fc6c9126f0cd3a3f6fd4f54cc /rust/helpers.c
parentRDMA/mana_ib: introduce a helper to remove cq callbacks (diff)
downloadkernel-f79edef79b6a2161f4124112f9b0c46891bb0b74.tar.gz
kernel-f79edef79b6a2161f4124112f9b0c46891bb0b74.zip
RDMA/mana_ib: boundary check before installing cq callbacks
Add a boundary check inside mana_ib_install_cq_cb to prevent index overflow. Fixes: 2a31c5a7e0d8 ("RDMA/mana_ib: Introduce mana_ib_install_cq_cb helper function") Signed-off-by: Konstantin Taranov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Long Li <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions