linux/drivers/infiniband
Gal Pressman 7fe7a3f790 RDMA/ocrdma: Fix out of bounds index check in query pkey
commit b188940796 upstream.

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: Ben Hutchings <ben@decadent.org.uk>
History 2019-07-09 22:03:45 +01:00
..
core RDMA/cm: Respect returned status of cm_init_av_by_path 2019-02-11 17:53:35 +00:00
hw RDMA/ocrdma: Fix out of bounds index check in query pkey 2019-07-09 22:03:45 +01:00
ulp IB/ipoib: Fix for use-after-free in ipoib_cm_tx_start 2019-05-02 21:41:29 +01:00
Kconfig Merge branch 'ip-roce' into for-next 2014-01-22 23:24:21 -08:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00