summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/uverbs_uapi.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2020-09-26 13:24:47 +0300
committerJason Gunthorpe <jgg@nvidia.com>2020-09-29 19:11:06 +0300
commit5807bb32055bb8badc44bf835ebc376415cd0a17 (patch)
treecba5cd28b3298a6eed823a7b104e7a43e19c3d88 /drivers/infiniband/core/uverbs_uapi.c
parent8fd3cd2ae5a09ca1caed4b3990e084cb95bf55af (diff)
downloadlinux-5807bb32055bb8badc44bf835ebc376415cd0a17.tar.xz
RDMA/core: Align write and ioctl checks of QP types
The ioctl flow checks that the user provides only a supported list of QP types, while write flow didn't do it and relied on the driver to check it. Align those flows to fail as early as possible. Link: https://lore.kernel.org/r/20200926102450.2966017-8-leon@kernel.org Reviewed-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs_uapi.c')
0 files changed, 0 insertions, 0 deletions