RDMA/rxe: Verify modify_device mask
authorKamal Heib <kamalheib1@gmail.com>
Mon, 23 Sep 2019 10:41:58 +0000 (13:41 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 1 Oct 2019 16:06:10 +0000 (13:06 -0300)
commitf3fceba5da5e149ecd8e58c1e1c60464629de27b
tree174172a3479c6946e888c33aa58bd9ae1de51a50
parent39ce85f3b18597b17a3db74906db2c6360d66c16
RDMA/rxe: Verify modify_device mask

Verify that the passed mask to rxe_modify_device() is supported.

Link: https://lore.kernel.org/r/20190923104158.5331-4-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rxe/rxe_verbs.c