diff options
author | Ursula Braun <ubraun@linux.ibm.com> | 2019-10-21 16:13:12 +0200 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-10-22 11:23:43 -0700 |
commit | 8317976096635110603c3e143bcaf8773f4a3e65 (patch) | |
tree | 65c46683d93c7002fdc856eecf091aafec1431c5 /net/smc/smc_close.h | |
parent | 8e316b9e7260cbc61974c2558733dab5de949399 (diff) | |
download | linux-8317976096635110603c3e143bcaf8773f4a3e65.tar.bz2 |
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>
Diffstat (limited to 'net/smc/smc_close.h')
-rw-r--r-- | net/smc/smc_close.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/smc/smc_close.h b/net/smc/smc_close.h index e0e3b5df25d2..084c4f37aa96 100644 --- a/net/smc/smc_close.h +++ b/net/smc/smc_close.h @@ -24,5 +24,6 @@ int smc_close_active(struct smc_sock *smc); int smc_close_shutdown_write(struct smc_sock *smc); void smc_close_init(struct smc_sock *smc); void smc_clcsock_release(struct smc_sock *smc); +int smc_close_abort(struct smc_connection *conn); #endif /* SMC_CLOSE_H */ |