diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-04-04 21:00:01 -0600 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-04-19 22:01:11 -0400 |
commit | 8b77586bd8fe600d97f922c79f7222c46f37c118 (patch) | |
tree | 98c5e90e52ddcde6489fe9c731c044ba06397e98 /include/uapi/rdma/rdma_user_ioctl.h | |
parent | IB/uverbs: Add missing braces in anonymous union initializers (diff) | |
download | linux-dev-8b77586bd8fe600d97f922c79f7222c46f37c118.tar.xz linux-dev-8b77586bd8fe600d97f922c79f7222c46f37c118.zip |
RDMA/ucma: Check for a cm_id->device in all user calls that need it
This is done by auditing all callers of ucma_get_ctx and switching the
ones that unconditionally touch ->device to ucma_get_ctx_dev. This covers
a little less than half of the call sites.
The 11 remaining call sites to ucma_get_ctx() were manually audited.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/rdma/rdma_user_ioctl.h')
0 files changed, 0 insertions, 0 deletions