Re: [PATCH] IB/rxe: Omit port validation from IB verbs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux