diff options
author | Ira Weiny <ira.weiny@intel.com> | 2018-09-20 21:58:46 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-09-21 03:24:51 +0200 |
commit | 0dbfaa9f2813787679e296eb5476e40938ab48c8 (patch) | |
tree | 4c235789be9a23c1387f3647ed884bba24817496 /firmware | |
parent | RDMA/uverbs: Fix validity check for modify QP (diff) | |
download | linux-0dbfaa9f2813787679e296eb5476e40938ab48c8.tar.xz linux-0dbfaa9f2813787679e296eb5476e40938ab48c8.zip |
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: stable@vger.kernel.org
Fixes: 7724105686e7 ("IB/hfi1: add driver files")
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions