net/smc: cancel send and receive for terminated socket
authorUrsula Braun <ubraun@linux.ibm.com>
Mon, 21 Oct 2019 14:13:08 +0000 (16:13 +0200)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 22 Oct 2019 18:23:43 +0000 (11:23 -0700)
commitb290098092e4aeaa1712d3326bf5b64d2751c740
treea61e1a914084e4c9876d8eb15af342529b036e49
parentfe28afe23e91b162df31171a376d519cdd95f881
net/smc: cancel send and receive for terminated socket

The resources for a terminated socket are being cleaned up.
This patch makes sure
* no more data is received for an actively terminated socket
* no more data is sent for an actively or passively terminated socket

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.h
net/smc/smc_cdc.c
net/smc/smc_close.c
net/smc/smc_core.c
net/smc/smc_rx.c
net/smc/smc_tx.c