]> 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)
commit3e387c7c77d67e9b355ffe6915eac7becf076b97
treee1183ddc87325402afe16a71c5e9a586b103b09c
parent2897d879db4528327e8338849399a18b0c172d1a
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