diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-06 09:47:01 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-13 02:32:54 +0200 |
commit | a0e46db4e764f56c61f85c235c50bf4578c51a47 (patch) | |
tree | 6b28a3e96dd4bbac2e4cc1f0c6a8bd1be80e0dce /include/rdma | |
parent | RDMA/cm: Remove needless cm_id variable (diff) | |
download | linux-a0e46db4e764f56c61f85c235c50bf4578c51a47.tar.xz linux-a0e46db4e764f56c61f85c235c50bf4578c51a47.zip |
RDMA/cm: Increment the refcount inside cm_find_listen()
All callers need the 'get', so do it in a central place before returning
the pointer.
Link: https://lore.kernel.org/r/20200506074701.9775-11-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions