aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/namespaces
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2018-02-21 18:12:38 +0200
committerDoug Ledford <dledford@redhat.com>2018-02-22 22:29:50 -0500
commiteb455e329bf65c75372da65a6a268c519f489183 (patch)
tree97f468c718de2fd5adb92acc7712c61fb71a14b4 /Documentation/namespaces
parentRDMA/uverbs: Refactor command header processing (diff)
downloadlinux-dev-eb455e329bf65c75372da65a6a268c519f489183.tar.xz
linux-dev-eb455e329bf65c75372da65a6a268c519f489183.zip
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>
Diffstat (limited to 'Documentation/namespaces')
0 files changed, 0 insertions, 0 deletions