Skip to content

mptcp: Connection-time 'C' flag and two fixes

Mat Martineau mptcp netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6mptcp: add sysctl allow_join_initial_addr_portDocumentation/networking/mptcp-sysctl.rst net/mptcp/ctrl.c net/mptcp/protocol.h+30 -00 repliesApplied
2/6mptcp: add allow_join_id0 in mptcp_out_optionsinclude/net/mptcp.h net/mptcp/options.c net/mptcp/protocol.h +1 more+13 -30 repliesApplied
3/6mptcp: add deny_join_id0 in mptcp_options_receivednet/mptcp/options.c net/mptcp/pm.c net/mptcp/pm_netlink.c +2 more+15 -20 repliesApplied
4/6selftests: mptcp: add deny_join_id0 testcasestools/testing/selftests/net/mptcp/mptcp_join.sh+74 -10 repliesApplied
5/6selftests: mptcp: turn rp_filter off on each NICtools/testing/selftests/net/mptcp/simult_flows.sh+2 -10 repliesApplied
6/6mptcp: refine mptcp_cleanup_rbufnet/mptcp/protocol.c net/mptcp/protocol.h+23 -340 repliesApplied

Reviews trailers per patch

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

PatchPaolo Abeni
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6
6/6

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

Read the v1 thread

Cover letter [PATCH net-next 0/6] mptcp: Connection-time 'C' flag and two fixes

Here are six more patches from the MPTCP tree.

Most of them add support for the 'C' flag in the MPTCP connection-time option headers. This flag affects how the initial address and port are treated by each peer. Normally one peer may send MP_JOIN requests to the remote address and port that were used when initiating the MPTCP connection. The 'C' bit indicates that MP_JOINs should only be sent to remote addresses that have been advertised with ADD_ADDR.

The other two patches are unrelated improvements.

Patches 1-4: Add the 'C' flag feature, a sysctl to optionally enable it, and a selftest.

Patch 5: Adjust rp_filter settings in a selftest.

Patch 6: Improve rbuf cleanup for MPTCP sockets.

Geliang Tang (4):
mptcp: add sysctl allow_join_initial_addr_port
mptcp: add allow_join_id0 in mptcp_out_options
mptcp: add deny_join_id0 in mptcp_options_received
selftests: mptcp: add deny_join_id0 testcases

Paolo Abeni (1):
mptcp: refine mptcp_cleanup_rbuf

Yonglong Li (1):
selftests: mptcp: turn rp_filter off on each NIC

 Documentation/networking/mptcp-sysctl.rst     | 13 ++++
 include/net/mptcp.h                           |  3 +-
 net/mptcp/ctrl.c                              | 16 ++++
 net/mptcp/options.c                           | 13 ++++
 net/mptcp/pm.c                                |  1 +
 net/mptcp/pm_netlink.c                        |  3 +-
 net/mptcp/protocol.c                          | 56 ++++++--------
 net/mptcp/protocol.h                          | 12 ++-
 net/mptcp/subflow.c                           |  3 +
 .../testing/selftests/net/mptcp/mptcp_join.sh | 75 ++++++++++++++++++-
 .../selftests/net/mptcp/simult_flows.sh       |  3 +-
 11 files changed, 157 insertions(+), 41 deletions(-)

base-commit: a432c771e2d9bc059ffe3028faf040c08b6a9f98

Signature · 1 line
2.32.0