|
@@ -2077,7 +2077,7 @@ static int srpt_cm_req_recv(struct ib_cm_id *cm_id,
|
|
goto destroy_ib;
|
|
goto destroy_ib;
|
|
}
|
|
}
|
|
|
|
|
|
- guid = (__be16 *)¶m->primary_path->sgid.global.interface_id;
|
|
|
|
|
|
+ guid = (__be16 *)¶m->primary_path->dgid.global.interface_id;
|
|
snprintf(ch->ini_guid, sizeof(ch->ini_guid), "%04x:%04x:%04x:%04x",
|
|
snprintf(ch->ini_guid, sizeof(ch->ini_guid), "%04x:%04x:%04x:%04x",
|
|
be16_to_cpu(guid[0]), be16_to_cpu(guid[1]),
|
|
be16_to_cpu(guid[0]), be16_to_cpu(guid[1]),
|
|
be16_to_cpu(guid[2]), be16_to_cpu(guid[3]));
|
|
be16_to_cpu(guid[2]), be16_to_cpu(guid[3]));
|