]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/mlx4: Use ib_copy_validate_udata_in() for QP
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 25 Mar 2026 21:26:55 +0000 (18:26 -0300)
committerLeon Romanovsky <leonro@nvidia.com>
Tue, 31 Mar 2026 07:18:16 +0000 (03:18 -0400)
commit0453bf09a68b11f7561d8266b3221e147743afce
treec79435a248c2e555dae815fdda7f3adcd93784c4
parentf899787095cdb537cf1b5710b1e7b243da655e8b
RDMA/mlx4: Use ib_copy_validate_udata_in() for QP

Move the validation of the udata to the same function that copies it.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/infiniband/hw/mlx4/qp.c