diff options
author | Paolo Abeni <[email protected]> | 2022-09-30 08:59:32 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-10-03 11:18:53 +0100 |
commit | d21f8348551831efd917528afc545832a372426e (patch) | |
tree | aa514dfc2f09d1c76b4bcd1457b24069808afc69 /scripts/generate_rust_analyzer.py | |
parent | 69800e516e968fa1cf9202b872dc86515eeeebe6 (diff) |
mptcp: use fastclose on more edge scenarios
Daire reported a user-space application hang-up when the
peer is forcibly closed before the data transfer completion.
The relevant application expects the peer to either
do an application-level clean shutdown or a transport-level
connection reset.
We can accommodate a such user by extending the fastclose
usage: at fd close time, if the msk socket has some unread
data, and at FIN_WAIT timeout.
Note that at MPTCP close time we must ensure that the TCP
subflows will reset: set the linger socket option to a suitable
value.
Reviewed-by: Matthieu Baerts <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions