diff options
author | Dennis Dalessandro <[email protected]> | 2017-05-29 17:18:14 -0700 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2017-07-17 11:39:45 -0400 |
commit | 91647f4c2d66e16b30524613410a638c2c4532bf (patch) | |
tree | 9a88b6ca6d6f4a84f4c008c43274ecb3d3ec7849 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 3d886aa3be15439e05784ac1cbd4acc2f13c0048 (diff) |
IB/hfi1: Ensure dd->gi_mask can not be overflowed
As the code stands today the array access in remap_intr() is OK. To
future proof the code though we should explicitly check to ensure the
index value is not outside of the valid range. This is not a straight
forward calculation so err on the side of caution.
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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions