net/smc: short wait for late smc_clc_wait_msg
authorUrsula Braun <ubraun@linux.ibm.com>
Thu, 22 Nov 2018 09:26:39 +0000 (10:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Nov 2018 01:20:32 +0000 (17:20 -0800)
commit2b59f58e34e78abec2bccd2413ae9e7ea509a855
treee7e9be9226ee9050428a4d8ca53a571ef9f92cfd
parent90d8b29cb4b251cd874aa00a50d11b28a7322986
net/smc: short wait for late smc_clc_wait_msg

After sending one of the initial LLC messages CONFIRM LINK or
ADD LINK, there is already a wait for the LLC response. It does
not make sense to wait another long time for a CLC DECLINE. Thus
this patch introduces a shorter wait time for these cases.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c
net/smc/smc_clc.c
net/smc/smc_clc.h