linux_dsm_epyc7002/drivers/infiniband/ulp/opa_vnic
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
..
Kconfig
Makefile
opa_vnic_encap.c IB/hfi1: Ensure ucast_dlid access doesnt exceed bounds 2018-09-30 19:21:12 -06:00
opa_vnic_encap.h
opa_vnic_ethtool.c
opa_vnic_internal.h opa_vnic: Just use skb_get_hash instead of skb_tx_hash 2018-04-29 22:01:32 -04:00
opa_vnic_netdev.c net: allow ndo_select_queue to pass netdev 2018-07-09 13:41:34 -07:00
opa_vnic_vema_iface.c
opa_vnic_vema.c RDMA/ulp: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00