linux/drivers/infiniband
Leon Romanovsky eb455e329b RDMA/uverbs: Properly check command supported mask
The check based on index is not sufficient because

  IB_USER_VERBS_EX_CMD_CREATE_CQ = IB_USER_VERBS_CMD_CREATE_CQ

and IB_USER_VERBS_CMD_CREATE_CQ <= IB_USER_VERBS_CMD_OPEN_QP,
so if we execute IB_USER_VERBS_EX_CMD_CREATE_CQ this code checks
ib_dev->uverbs_cmd_mask not ib_dev->uverbs_ex_cmd_mask.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2018-02-22 22:29:50 -05:00
..
core RDMA/uverbs: Properly check command supported mask 2018-02-22 22:29:50 -05:00
hw Merge branch 'k.o/for-rc' into k.o/wip/dl-for-next 2018-02-22 22:27:20 -05:00
sw rxe: Do not use 'struct sockaddr' in a uapi header 2018-02-14 16:31:35 -07:00
ulp Merge branch 'k.o/for-rc' into k.o/wip/dl-for-next 2018-02-22 22:27:20 -05:00
Kconfig Second pull request for 4.16 merge window 2018-02-06 11:09:45 -08:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00