]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: allow fallback after clc timeouts
authorUrsula Braun <ubraun@linux.ibm.com>
Thu, 22 Nov 2018 09:26:37 +0000 (10:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Nov 2018 01:20:32 +0000 (17:20 -0800)
commit49d280ef1e04ec795205680fcd49ea5b1f11bba1
tree1d26d17ba325140fa161657244f1e55b2f4c0c99
parentd6b623a970be1f2c73c05cffcf569513b9ad2898
net/smc: allow fallback after clc timeouts

If connection initialization fails for the LLC CONFIRM LINK or the
LLC ADD LINK step, fallback to TCP should be enabled. Thus
the negative return code -EAGAIN should switch to a positive timeout
reason code in these cases, and the internal CLC socket should
not have a set sk_err.

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