aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/cma_configfs.c
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2015-12-23 14:56:54 +0200
committerDoug Ledford <dledford@redhat.com>2015-12-23 10:39:52 -0500
commit218a773f7632d8553638c76d3a5a8c77e82ccea1 (patch)
treec7caa0a2d13d886219e8bcd34ffdbc6c0fbb02d9 /drivers/infiniband/core/cma_configfs.c
parentIB/core: Validate route when we init ah (diff)
downloadlinux-dev-218a773f7632d8553638c76d3a5a8c77e82ccea1.tar.xz
linux-dev-218a773f7632d8553638c76d3a5a8c77e82ccea1.zip
IB/rdma_cm: Add wrapper for cma reference count
Currently, cma users can't increase or decrease the cma reference count. This is necassary when setting cma attributes (like the default GID type) in order to avoid use-after-free errors. Adding cma_ref_dev and cma_deref_dev APIs. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/cma_configfs.c')
0 files changed, 0 insertions, 0 deletions