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)
commitdd65d87a6abd537ae9bb3bdcee8905704b936884
treee1183ddc87325402afe16a71c5e9a586b103b09c
parent1ca52fcfaca43665d525645348801a6f4a4b9e9a
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