net/smc: build and send V2 CLC proposal
The new format of an SMCD V2 CLC proposal is introduced, and building and checking of SMCD V2 CLC proposals is adapted accordingly. Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
d70bf4f7a9
commit
8c3dca341a
@@ -1301,7 +1301,7 @@ static void smc_find_ism_device_serv(struct smc_sock *new_smc,
|
||||
if (!smcd_indicated(pclc->hdr.typev1))
|
||||
goto not_found;
|
||||
ini->is_smcd = true; /* prepare ISM check */
|
||||
ini->ism_peer_gid[0] = pclc_smcd->gid;
|
||||
ini->ism_peer_gid[0] = ntohll(pclc_smcd->ism.gid);
|
||||
if (smc_find_ism_device(new_smc, ini))
|
||||
goto not_found;
|
||||
if (!smc_listen_ism_init(new_smc, ini))
|
||||
|
Reference in New Issue
Block a user