WSL2-Linux-Kernel/net/smc
Ursula Braun 50c6b20eff net/smc: fix final cleanup sequence for SMCD devices
If peer announces shutdown, use the link group terminate worker for
local cleanup of link groups and connections to terminate link group
in proper context.

Make sure link groups are cleaned up first before destroying the
event queue of the SMCD device, because link group cleanup may
raise events.

Send signal shutdown only if peer has not done it already.

Send socket abort or close only, if peer has not already announced
shutdown.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-11-15 12:28:28 -08:00
..
Kconfig
Makefile
af_smc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-02 13:54:56 -07:00
smc.h net/smc: cancel send and receive for terminated socket 2019-10-22 11:23:43 -07:00
smc_cdc.c net/smc: fix final cleanup sequence for SMCD devices 2019-11-15 12:28:28 -08:00
smc_cdc.h
smc_clc.c
smc_clc.h
smc_close.c net/smc: remove close abort worker 2019-10-22 11:23:44 -07:00
smc_close.h net/smc: remove close abort worker 2019-10-22 11:23:44 -07:00
smc_core.c net/smc: fix final cleanup sequence for SMCD devices 2019-11-15 12:28:28 -08:00
smc_core.h net/smc: fix final cleanup sequence for SMCD devices 2019-11-15 12:28:28 -08:00
smc_diag.c
smc_ib.c net/smc: no new connections on disappearing devices 2019-10-09 19:45:44 -07:00
smc_ib.h net/smc: no new connections on disappearing devices 2019-10-09 19:45:44 -07:00
smc_ism.c net/smc: fix final cleanup sequence for SMCD devices 2019-11-15 12:28:28 -08:00
smc_ism.h
smc_llc.c net/smc: introduce link group termination worker 2019-10-22 11:23:44 -07:00
smc_llc.h
smc_netns.h
smc_pnet.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-09 11:04:37 -08:00
smc_pnet.h
smc_rx.c net/smc: cancel send and receive for terminated socket 2019-10-22 11:23:43 -07:00
smc_rx.h
smc_tx.c net/smc: cancel send and receive for terminated socket 2019-10-22 11:23:43 -07:00
smc_tx.h
smc_wr.c net/smc: introduce link group termination worker 2019-10-22 11:23:44 -07:00
smc_wr.h