diff options
| author | Dennis Dalessandro <[email protected]> | 2017-05-29 17:18:14 -0700 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-06-27 16:58:12 -0400 |
| commit | bc54f6714c3a5d1f7ac6e7e5a5f7c390b1a01285 (patch) | |
| tree | cb88bbf55c32434a129d2f582856dcec63a85852 /tools/perf/scripts/python/netdev-times.py | |
| parent | b2f8a04e77bad520d52b7f321ca776b33c947ad0 (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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions