linux_dsm_epyc7002/drivers/infiniband/ulp
Dennis Dalessandro 3144533bf6 IB/hfi1: Ensure ucast_dlid access doesnt exceed bounds
The dlid assignment made by looking into the u_ucast_dlid array does not
do an explicit check for the size of the array. The code path to arrive at
def_port, the index value is long and complicated so its best to just have
an explicit check here.

Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-09-30 19:21:12 -06:00
..
ipoib RDMA/ulp: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
iser IB/iser: Fix possible NULL deref at iser_inv_desc() 2018-09-28 09:53:49 -06:00
isert RDMA/ulp: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
opa_vnic IB/hfi1: Ensure ucast_dlid access doesnt exceed bounds 2018-09-30 19:21:12 -06:00
srp RDMA/ulp: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
srpt RDMA/ulp: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00