linux_dsm_epyc7002/drivers/infiniband/hw/qedr
Gal Pressman dbe30dae48 RDMA/qedr: Fix out of bounds index check in query pkey
The pkey table size is QEDR_ROCE_PKEY_TABLE_LEN, index should be tested
for >= QEDR_ROCE_PKEY_TABLE_LEN instead of > QEDR_ROCE_PKEY_TABLE_LEN.

Fixes: a7efd7773e ("qedr: Add support for PD,PKEY and CQ verbs")
Signed-off-by: Gal Pressman <galpress@amazon.com>
Acked-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-01-10 17:07:45 -07:00
..
Kconfig Updates for 4.15 kernel merge window 2017-11-15 14:54:53 -08:00
main.c RDMA/qedr: Initialize ib_device_ops struct 2018-12-12 07:40:14 -07:00
Makefile RDMA/qedr: Add iWARP connection management qp related callbacks 2017-08-18 12:26:38 -04:00
qedr_hsi_rdma.h qedr: Add support for kernel mode SRQ's 2018-08-14 16:31:54 -06:00
qedr_iw_cm.c infiniband/qedr: Potential null ptr dereference of qp 2019-01-02 16:08:38 -07:00
qedr_iw_cm.h RDMA/qedr: Add iWARP connection management functions 2017-08-18 12:27:14 -04:00
qedr_roce_cm.c RDMA/qedr: Remove enumerated type qed_roce_ll2_tx_dest 2018-09-30 19:21:11 -06:00
qedr_roce_cm.h RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
qedr.h RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
verbs.c RDMA/qedr: Fix out of bounds index check in query pkey 2019-01-10 17:07:45 -07:00
verbs.h RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00