mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
RDMA/ocrdma: Fix out of bounds index check in query pkey
commitb188940796upstream. 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>
This commit is contained in:
parent
f6fc768f97
commit
7fe7a3f790
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue