linux/drivers/infiniband
Dan Carpenter 474e5a8606 RDMA/bnxt_re: Fix a couple off by one bugs
The sgid_tbl->tbl[] array is allocated in bnxt_qplib_alloc_sgid_tbl().
It has sgid_tbl->max elements.  So the > should be >= to prevent
accessing one element beyond the end of the array.

Fixes: 1ac5a40479 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-07-04 12:06:26 -06:00
..
core IB/core: type promotion bug in rdma_rw_init_one_mr() 2018-07-04 12:05:28 -06:00
hw RDMA/bnxt_re: Fix a couple off by one bugs 2018-07-04 12:06:26 -06:00
sw IB/rxe: don't clear the tx queue on every transfer 2018-06-29 12:26:13 -06:00
ulp ib_srpt: Fix a use-after-free in __srpt_close_all_ch() 2018-07-03 14:14:21 -06:00
Kconfig RDMA/ucm: Mark UCM interface as BROKEN 2018-05-24 09:39:25 -06:00
Makefile