Skip to content

Backport "mptcp: don't account accept() of non-MPC client as fallback to TCP"

Matthieu Baerts (NGI0) mptcp stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5selftests: mptcp: display simult in extra_msgtools/testing/selftests/net/mptcp/mptcp_join.sh+4 -10 replies
2/5selftests: mptcp: connect: fix shellcheck warningstools/testing/selftests/net/mptcp/mptcp_connect.sh+47 -290 replies
3/5selftests: mptcp: use += operator to append stringstools/testing/selftests/net/mptcp/mptcp_connect.sh tools/testing/selftests/net/mptcp/mptcp_join.sh+43 -406 replies
4/5mptcp: don't overwrite sock_ops in mptcp_is_tcpsk()net/mptcp/protocol.c+44 -640 replies
5/5mptcp: don't account accept() of non-MPC client as fallback to TCPnet/mptcp/protocol.c net/mptcp/subflow.c tools/testing/selftests/net/mptcp/mptcp_connect.sh+11 -20 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchMatthieu BaertsMat MartineauPaolo Abeni
1/5R-b
2/5R-b
3/5R-b
4/5A-b
5/5R-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 6.6.y 0/5] Backport "mptcp: don't account accept() of non-MPC client as fallback to TCP"

Commit 7a1b3490f47e ("mptcp: don't account accept() of non-MPC client as fallback to TCP") does not apply to the 6.8-stable tree. That's because there are some conflicts with recent refactoring done in the selftests and around the 'accept()' code:

- commit 629b35a225b0 ("selftests: mptcp: display simult in extra_msg")
- commit e3aae1098f10 ("selftests: mptcp: connect: fix shellcheck warnings")
- commit e7c42bf4d320 ("selftests: mptcp: use += operator to append strings"
- commit 8e2b8a9fa512 ("mptcp: don't overwrite sock_ops in mptcp_is_tcpsk()")

These 4 patches look harmless, probably safer and easier to backport them, than diverging even more from the development branch.

Note that applied in this order, all these 5 patches have been backported without conflicts. Tests are still OK.

Davide Caratti (2):
mptcp: don't overwrite sock_ops in mptcp_is_tcpsk()
mptcp: don't account accept() of non-MPC client as fallback to TCP

Geliang Tang (2):
selftests: mptcp: display simult in extra_msg
selftests: mptcp: use += operator to append strings

Matthieu Baerts (NGI0) (1):
selftests: mptcp: connect: fix shellcheck warnings

 net/mptcp/protocol.c                          | 106 ++++++--------
 net/mptcp/subflow.c                           |   2 +
 .../selftests/net/mptcp/mptcp_connect.sh      | 134 +++++++++++-------
 .../testing/selftests/net/mptcp/mptcp_join.sh |  33 +++--
 4 files changed, 144 insertions(+), 131 deletions(-)
Signature · 1 line
2.43.0