linux/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 IB/opa-vnic: VNIC Ethernet Management Agent (VEMA) function 2017-04-20 12:01:38 -04:00
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 IB/opa_vnic: Add routing control information 2017-09-27 11:21:57 -04:00
opa_vnic_ethtool.c IB/opa_vnic: Use spinlock instead of mutex for stats_lock 2017-06-29 12:43:52 -04:00
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 IB/opa_vnic: Add routing control information 2017-09-27 11:21:57 -04:00
opa_vnic_vema.c RDMA/ulp: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00