diff options
| author | Ursula Braun <[email protected]> | 2017-04-10 12:58:02 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-04-12 03:01:14 +0000 |
| commit | a98bf8c0bce7bd3371adbe99d1e2b31c32308fb9 (patch) | |
| tree | dec59a5c9408a85da1c583f3bfb73eb0efa4baa0 /net/tipc/socket.c | |
| parent | net/smc: no socket state changes in tasklet context (diff) | |
| download | kernel-a98bf8c0bce7bd3371adbe99d1e2b31c32308fb9.tar.gz kernel-a98bf8c0bce7bd3371adbe99d1e2b31c32308fb9.zip | |
net/smc: guarantee ConnClosed send after shutdown SHUT_WR
State SMC_CLOSED should be reached only, if ConnClosed has been sent to
the peer. If ConnClosed is received from the peer, a socket with
shutdown SHUT_WR done, switches errorneously to state SMC_CLOSED, which
means the peer socket is dangling. The local SMC socket is supposed to
switch to state APPFINCLOSEWAIT to make sure smc_close_final() is called
during socket close.
Signed-off-by: Ursula Braun <[email protected]>
Reviewed-by: Thomas Richter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions
