net/smc: tell peers about abnormal link group termination
authorUrsula Braun <ubraun@linux.ibm.com>
Mon, 21 Oct 2019 14:13:12 +0000 (16:13 +0200)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 22 Oct 2019 18:23:43 +0000 (11:23 -0700)
commit8317976096635110603c3e143bcaf8773f4a3e65
tree65c46683d93c7002fdc856eecf091aafec1431c5
parent8e316b9e7260cbc61974c2558733dab5de949399
net/smc: tell peers about abnormal link group termination

There are lots of link group termination scenarios. Most of them
still allow to inform the peer of the terminating sockets about aborting.
This patch tries to call smc_close_abort() for terminating sockets.

And the internal TCP socket is reset with tcp_abort().

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
net/smc/smc_close.c
net/smc/smc_close.h
net/smc/smc_core.c