aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorIra Weiny <[email protected]>2018-09-20 12:58:46 -0700
committerJason Gunthorpe <[email protected]>2018-09-20 19:24:51 -0600
commit0dbfaa9f2813787679e296eb5476e40938ab48c8 (patch)
tree4c235789be9a23c1387f3647ed884bba24817496 /include/linux/overflow.h
parent4eeed3686981ff887bbdd7254139e2eca276534c (diff)
IB/hfi1: Fix SL array bounds check
The SL specified by a user needs to be a valid SL. Add a range check to the user specified SL value which protects from running off the end of the SL to SC table. CC: [email protected] Fixes: 7724105686e7 ("IB/hfi1: add driver files") Signed-off-by: Ira Weiny <[email protected]> Signed-off-by: Dennis Dalessandro <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions