On Wed, Jul 04, 2018 at 12:57:11PM +0300, Dan Carpenter wrote: > 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: 1ac5a4047975 ("RDMA/bnxt_re: Add bnxt_re RoCE driver") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Acked-by: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx> Applied to for-next Thanks, Jason -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html