Skip to content

mptcp: fix another close hang-up

Paolo Abeni mptcp 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 11 repliesIn review
  2. v42 patches 4 repliesSuperseded
  3. v32 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches2 repliesSuperseded
v12 patches1 replySuperseded

Changes in v5 from the cover letter

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

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mptcp: rename timer related helper to less confusing namesnet/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/subflow.c+23 -230 replies
2/2mptcp: fix dangling connection hang-upnet/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/subflow.c+67 -448 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMatthieu BaertsMat Martineau
SeriesR-b R-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH mptcp-net v5 0/2] mptcp: fix another close hang-up

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(-)
Signature · 1 line
2.41.0