]> git.baikalelectronics.ru Git - kernel.git/commit
IB/CM: Change sgid to IB GID when handling CM request
authorDon Hiatt <don.hiatt@intel.com>
Tue, 14 Nov 2017 12:34:38 +0000 (04:34 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 11 Dec 2017 23:19:40 +0000 (16:19 -0700)
commit4d5a223f12fcd91c731c67b4609a74213af7d698
tree1871150f26d51a5ebafb4e846fa0eab310ef7606
parent124c86ee2a5b3bfc98f19b1313c77f6682b7b7cb
IB/CM: Change sgid to IB GID when handling CM request

ULPs do not understand OPA GIDs and will reject CM requests
if the sgid does not match the local_gid. In order to
fix this behavior we convert the OPA GID back to an IB GID.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cm.c