aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2023-02-07 14:04:13 +0100
committerDavid S. Miller <[email protected]>2023-02-08 09:39:34 +0000
commitd4e85922e3e7ef2071f91f65e61629b60f3a9cf4 (patch)
tree34bc5c451833ffa546cbe66670ab29c537f58193 /tools/perf/scripts/python
parent1a3245fe0cf84e630598da4ab110a5f8a2d6730d (diff)
mptcp: do not wait for bare sockets' timeout
If the peer closes all the existing subflows for a given mptcp socket and later the application closes it, the current implementation let it survive until the timewait timeout expires. While the above is allowed by the protocol specification it consumes resources for almost no reason and additionally causes sporadic self-tests failures. Let's move the mptcp socket to the TCP_CLOSE state when there are no alive subflows at close time, so that the allocated resources will be freed immediately. Fixes: e16163b6e2b7 ("mptcp: refactor shutdown and close") Cc: [email protected] Signed-off-by: Paolo Abeni <[email protected]> Reviewed-by: Matthieu Baerts <[email protected]> Signed-off-by: Matthieu Baerts <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions