mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 19:51:27 +00:00
ib_srpt: Mask off AGN_MASK bits before invoking ib_cm_listen()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3854 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -3767,7 +3767,8 @@ static void srpt_add_one(struct ib_device *device)
|
||||
sdev->srq_size, sdev->dev_attr.max_srq_wr, device->name);
|
||||
|
||||
if (!srpt_service_guid)
|
||||
srpt_service_guid = be64_to_cpu(device->node_guid);
|
||||
srpt_service_guid = be64_to_cpu(device->node_guid) &
|
||||
~be64_to_cpu(IB_SERVICE_ID_AGN_MASK);
|
||||
|
||||
sdev->cm_id = ib_create_cm_id(device, srpt_cm_handler, sdev);
|
||||
if (IS_ERR(sdev->cm_id)) {
|
||||
|
||||
Reference in New Issue
Block a user