Loading
RDMA: Use ib_copy_validate_udata_in_cm() for zero comp_mask
All of these cases require a 0 comp_mask. Consolidate these into using ib_copy_validate_udata_in_cm() and remove the open coded comp_mask test. Signed-off-by:Jason Gunthorpe <jgg@nvidia.com> Signed-off-by:
Leon Romanovsky <leonro@nvidia.com>