linux-stable/drivers/infiniband/hw/ocrdma
Gal Pressman 499cd10603 RDMA/ocrdma: Fix out of bounds index check in query pkey
[ Upstream commit b188940796 ]

The pkey table size is one element, index should be tested for > 0 instead
of > 1.

Fixes: fe2caefcdf ("RDMA/ocrdma: Add driver for Emulex OneConnect IBoE RDMA adapter")
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:46:12 +01:00
..
Kconfig
Makefile
ocrdma.h
ocrdma_ah.c RDMA: Directly cast the sockaddr union to sockaddr 2019-08-09 17:53:32 +02:00
ocrdma_ah.h
ocrdma_hw.c RDMA: Directly cast the sockaddr union to sockaddr 2019-08-09 17:53:32 +02:00
ocrdma_hw.h
ocrdma_main.c
ocrdma_sli.h
ocrdma_stats.c
ocrdma_stats.h
ocrdma_verbs.c RDMA/ocrdma: Fix out of bounds index check in query pkey 2020-01-27 14:46:12 +01:00
ocrdma_verbs.h