On Thu, Dec 06, 2018 at 02:52:12PM +0200, Yuval Shaia wrote: > RDMA core layer already make sure port is valid, no need to check it > here again. > > For the pkey validation this depends on commit b3ac5742fead ("RDMA/core: > Validate port number in query_pkey verb") > > Signed-off-by: Yuval Shaia <yuval.shaia@xxxxxxxxxx> > --- > drivers/infiniband/sw/rxe/rxe_verbs.c | 21 +-------------------- > 1 file changed, 1 insertion(+), 20 deletions(-) Can you check if other drivers have the same redunent check and remove it too? Jason