commit | 8b77586bd8fe600d97f922c79f7222c46f37c118 | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgg@mellanox.com> | Wed Apr 04 21:00:01 2018 -0600 |
committer | Doug Ledford <dledford@redhat.com> | Thu Apr 19 22:01:11 2018 -0400 |
tree | 98c5e90e52ddcde6489fe9c731c044ba06397e98 | |
parent | e33514f2e930ad800fa52db19e889bb0fba25419 [diff] |
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>