Re: [PATCH v2] IB/{mlx5,ocrdma,qedr,rxe}: Omit port validation from IB verbs

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

 



On Sun, Dec 09, 2018 at 01:06:10PM +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>
> ---
> v1 -> v2:
> 	* Delete no-longer-used "out" tag as suggested by Yanjun
> 	* Took care of some other drivers that do this extra check as
> 	  suggested by Jason
> ---
>  drivers/infiniband/hw/mlx5/mad.c            |  5 -----
>  drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 12 -----------
>  drivers/infiniband/hw/qedr/verbs.c          | 12 -----------
>  drivers/infiniband/sw/rxe/rxe_verbs.c       | 22 +--------------------
>  4 files changed, 1 insertion(+), 50 deletions(-)
>

Thanks,
Acked-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[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