OSDN Git Service

IB/cm: Keep track of the sgid_attr that created the cm id
authorParav Pandit <parav@mellanox.com>
Tue, 19 Jun 2018 07:59:17 +0000 (10:59 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 25 Jun 2018 20:19:56 +0000 (14:19 -0600)
commit4ed13a5f2d606d2e6bcc5b8adbf08ed52e76cbb5
treef4289925cd27eca09c789bd20498722030684d65
parentaa74f4878d61c83244ad8613082989b60a566ca4
IB/cm: Keep track of the sgid_attr that created the cm id

Hold reference to the the sgid_attr which is used in a cm_id until the
cm_id is destroyed.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/core/cma.c
include/rdma/ib_addr.h