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>
This commit is contained in:

committed by
Jakub Kicinski

parent
8e316b9e72
commit
8317976096
@@ -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 */
|
||||
|
Reference in New Issue
Block a user