]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: enable fallback for connection abort in state INIT
authorUrsula Braun <ubraun@linux.ibm.com>
Tue, 18 Sep 2018 13:46:36 +0000 (15:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Sep 2018 03:11:43 +0000 (20:11 -0700)
commitb496ea37acad0111760a197e39f17e6846f32a73
treee1183ddc87325402afe16a71c5e9a586b103b09c
parent374a6832826ab3b55300c69e8db53bd59d782a0b
net/smc: enable fallback for connection abort in state INIT

If a linkgroup is terminated abnormally already due to failing
LLC CONFIRM LINK or LLC ADD LINK, fallback to TCP is still possible.
In this case do not switch to state SMC_PEERABORTWAIT and do not set
sk_err.

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