Skip to content

mptcp: fix recent failed backports

Matthieu Baerts (NGI0) mptcp stable 1 version Applied

Status from this message: This is a note to let you know that I've just added the patch titled

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6mptcp: track and update contiguous data statusnet/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/subflow.c+7 -11 reply
2/6mptcp: handle consistently DSS corruptionnet/mptcp/mib.c net/mptcp/mib.h net/mptcp/protocol.c +1 more+22 -41 reply
3/6tcp: fix mptcp DSS corruption due to large pmtu xmitnet/ipv4/tcp_output.c+1 -11 reply
4/6mptcp: fallback when MPTCP opts are dropped after 1st datanet/mptcp/subflow.c+1 -11 reply
5/6mptcp: pm: fix UaF read in mptcp_pm_nl_rm_addr_or_subflownet/mptcp/pm_netlink.c+1 -11 reply
6/6mptcp: prevent MPC handshake on port-based signal endpointsnet/mptcp/mib.c net/mptcp/mib.h net/mptcp/pm_netlink.c +2 more+15 -01 reply

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchMatthieu Baerts (NGI0)Paolo AbeniMat Martineau
1/6
2/6R-b R-b
3/6A-b A-b
4/6R-b R-b
5/6A-b A-b
6/6R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 5.15.y 0/6] mptcp: fix recent failed backports

Greg recently reported 6 patches that could not be applied without conflicts in v5.15:

- e32d262c89e2 ("mptcp: handle consistently DSS corruption")
- 4dabcdf58121 ("tcp: fix mptcp DSS corruption due to large pmtu xmit")
- 119d51e225fe ("mptcp: fallback when MPTCP opts are dropped after 1st data")
- 7decd1f5904a ("mptcp: pm: fix UaF read in mptcp_pm_nl_rm_addr_or_subflow")
- 3d041393ea8c ("mptcp: prevent MPC handshake on port-based signal endpoints")
- 5afca7e996c4 ("selftests: mptcp: join: test for prohibited MPC to port-based endp")

Conflicts have been resolved for the 5 first ones, and documented in each patch.

The last patch has not been backported: this is an extra test for the selftests validating the previous commit, and there are a lot of conflicts. That's fine not to backport this test, it is still possible to use the selftests from a newer version and run them on this older kernel.

One extra commit has been backported, to support allow_infinite_fallback which is used by two commits from the list above:

- 0530020a7c8f ("mptcp: track and update contiguous data status")

Geliang Tang (1):
mptcp: track and update contiguous data status

Matthieu Baerts (NGI0) (2):
mptcp: fallback when MPTCP opts are dropped after 1st data
mptcp: pm: fix UaF read in mptcp_pm_nl_rm_addr_or_subflow

Paolo Abeni (3):
mptcp: handle consistently DSS corruption
tcp: fix mptcp DSS corruption due to large pmtu xmit
mptcp: prevent MPC handshake on port-based signal endpoints

 net/ipv4/tcp_output.c  |  2 +-
 net/mptcp/mib.c        |  3 +++
 net/mptcp/mib.h        |  3 +++
 net/mptcp/pm_netlink.c |  3 ++-
 net/mptcp/protocol.c   | 23 ++++++++++++++++++++---
 net/mptcp/protocol.h   |  2 ++
 net/mptcp/subflow.c    | 19 ++++++++++++++++---
 7 files changed, 47 insertions(+), 8 deletions(-)
Signature · 1 line
2.45.2