diff options
| author | Dan Carpenter <[email protected]> | 2018-07-04 12:57:11 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-07-04 12:06:26 -0600 |
| commit | 474e5a86067e5f12c97d1db8b170c7f45b53097a (patch) | |
| tree | 6b28c271b1213bf467efe1e607b40e0d97f46957 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | c2d7c8ff89b22ddefb1ac2986c0d48444a667689 (diff) | |
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: 1ac5a4047975 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Selvin Xavier <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions