net/smc: reset recv timeout after clc handshake
authorKarsten Graul <kgraul@linux.ibm.com>
Wed, 18 Jul 2018 13:22:51 +0000 (15:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Aug 2018 11:07:12 +0000 (13:07 +0200)
commit6445942b559981bf12607990c396b071979f73ca
tree112c32f37caa969ca1ab6bc62659ea6d80ada71c
parent1ba4f24d19bd636537859226086c63ec73a50a6c
net/smc: reset recv timeout after clc handshake

[ Upstream commit f6bdc42f021194ec095914b92c7a8b1a09789e6d ]

During clc handshake the receive timeout is set to CLC_WAIT_TIME.
Remember and reset the original timeout value after the receive calls,
and remove a duplicate assignment of CLC_WAIT_TIME.

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.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_clc.c