]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cm: Make find_remote_id() return a cm_id_private
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 6 May 2020 07:46:58 +0000 (10:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 13 May 2020 00:32:54 +0000 (21:32 -0300)
commit0b05e6d9bbe72e6c2d73106dd1e8cdf65ca2f97f
tree13a0a1d680c3b54e1092906466e6b5c0db049678
parent1e46dc3078e34b20793a03099283fb882e1b0b5a
RDMA/cm: Make find_remote_id() return a cm_id_private

The only caller doesn't care about the timewait, so acquire and return the
cm_id_private from the function.

Link: https://lore.kernel.org/r/20200506074701.9775-8-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cm.c