OSDN Git Service

IB/cm: Use sgid_attr from the AV
authorParav Pandit <parav@mellanox.com>
Tue, 19 Jun 2018 07:59:20 +0000 (10:59 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 25 Jun 2018 20:19:57 +0000 (14:19 -0600)
commita8872d53e9b7fcf650f0e4be40887b3ad5210e33
tree6b32b6f269e8c7d5069fedaa41afb681ebb30a45
parent398391071f2576bbc6351bcb92c78fc432190ac3
IB/cm: Use sgid_attr from the AV

Prior patches now ensure that the AV has a sgid_attr, if one would have
been required.  Instead of querying for one, take it directly from the AH.

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/cm.c