All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mptcp-net v5 0/2] mptcp: fix another close hang-up
@ 2023-09-06  8:30 Paolo Abeni
  2023-09-06  8:30 ` [PATCH mptcp-net v5 1/2] mptcp: rename timer related helper to less confusing names Paolo Abeni
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Paolo Abeni @ 2023-09-06  8:30 UTC (permalink / raw)
  To: mptcp

If the TCP subflows close silently due to timeouts, the msk socket
can hang-up indefinitely.

Implement an additional close timeout triggered with the last subflow
close event and move the msk to TCP_CLOSE when it fires.

Should address issues/430 and issues/431.

v4 -> v5:
 - let the tout always expire for dead socks (Mat)
 - fix comment type (Mat)
 - targeting net, added fixes tag

v3 -> v4:
 - fix off-by-one in timer update/check (sigh, trival math is too
   hard:/)

v2 -> v3:
 - fix int overlflow in patch 2/2

v1 -> v2:
 - fix timeout timer scheduling in patch 2/2 (timeout never fired on v1)

Paolo Abeni (2):
  mptcp: rename timer related helper to less confusing names
  mptcp: fix dangling connection hang-up

 net/mptcp/protocol.c | 124 +++++++++++++++++++++----------------------
 net/mptcp/protocol.h |  26 ++++++++-
 net/mptcp/subflow.c  |   3 +-
 3 files changed, 88 insertions(+), 65 deletions(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-09-13  7:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-06  8:30 [PATCH mptcp-net v5 0/2] mptcp: fix another close hang-up Paolo Abeni
2023-09-06  8:30 ` [PATCH mptcp-net v5 1/2] mptcp: rename timer related helper to less confusing names Paolo Abeni
2023-09-06  8:30 ` [PATCH mptcp-net v5 2/2] mptcp: fix dangling connection hang-up Paolo Abeni
2023-09-06  9:42   ` mptcp: fix dangling connection hang-up: Tests Results MPTCP CI
2023-09-09 15:50   ` [PATCH mptcp-net v5 2/2] mptcp: fix dangling connection hang-up Matthieu Baerts
2023-09-11  6:13     ` Paolo Abeni
2023-09-11  8:42       ` Matthieu Baerts
2023-09-11 10:12         ` Paolo Abeni
2023-09-11 11:34           ` Matthieu Baerts
2023-09-12 13:15             ` Paolo Abeni
2023-09-09 16:03   ` Matthieu Baerts
2023-09-09 16:12 ` [PATCH mptcp-net v5 0/2] mptcp: fix another close hang-up Matthieu Baerts
2023-09-11 20:16   ` Mat Martineau
2023-09-13  7:49     ` Matthieu Baerts

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.