diff options
| author | Dennis Dalessandro <[email protected]> | 2017-05-29 17:19:21 -0700 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-06-27 16:58:12 -0400 |
| commit | 6c31e5283cb06b81a13cc88da2f2ad3db594a935 (patch) | |
| tree | 9f0c07b33111f9a1cbab1759a946e2a18426c9d2 /tools/perf/scripts/python/bin | |
| parent | 67838e64fa63415fe4e0da7149bcb123ed9f5612 (diff) | |
IB/hfi1: Use QPN mask to avoid overflow
Ensure we can't come up with an array size that is bigger than the array
by applying the QPN mask before the divide in the free_qpn function.
Reviewed-by: Michael J. Ruhl <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions