[PATCH AUTOSEL 4.9 038/251] RDMA/qedr: Fix out of bounds index check in query pkey