net/smc: use link_id of server in confirm link reply
authorKarsten Graul <kgraul@linux.vnet.ibm.com>
Wed, 28 Feb 2018 11:44:08 +0000 (12:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:52:07 +0000 (07:52 +0200)
commit953a64ca335384a51ee047df461993881bc0afe1
tree4e0911acc170738148a8da3bc7e2100db444e54b
parente0a5a0f4749fa7019efab95372737f2a502e470b
net/smc: use link_id of server in confirm link reply

[ Upstream commit 2be922f31606f114119f48de3207d122a90e7357 ]

The CONFIRM LINK reply message must contain the link_id sent
by the server. And set the link_id explicitly when
initializing the link.

Signed-off-by: Karsten Graul <kgraul@linux.vnet.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/smc/smc_core.c
net/smc/smc_llc.c