Skip to content

MPTCP: Cleanup and address advertisement 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 Latest13 patches 0 repliesApplied 13/13

Patches in v1 All 13 applied

#Subject and filesSizeRepliesApplied
1/13mptcp: clean-up the rtx pathnet/mptcp/protocol.c net/mptcp/protocol.h+12 -310 repliesApplied
2/13mptcp: drop argument port from mptcp_pm_announce_addrnet/mptcp/pm.c net/mptcp/pm_netlink.c net/mptcp/protocol.h+7 -100 repliesApplied
3/13mptcp: skip connecting the connected addressnet/mptcp/pm_netlink.c+23 -00 repliesApplied
4/13mptcp: drop unused subflow in mptcp_pm_subflow_establishednet/mptcp/options.c net/mptcp/pm.c net/mptcp/protocol.h+3 -50 repliesApplied
5/13mptcp: move to next addr when timeoutnet/mptcp/pm_netlink.c+3 -00 repliesApplied
6/13selftests: mptcp: add cfg_do_w for cfg_removetools/testing/selftests/net/mptcp/mptcp_connect.c+7 -30 repliesApplied
7/13selftests: mptcp: timeout testcases for multi addressestools/testing/selftests/net/mptcp/mptcp_join.sh+24 -20 repliesApplied
8/13mptcp: export lookup_anno_list_by_saddrnet/mptcp/pm_netlink.c net/mptcp/protocol.h+8 -50 repliesApplied
9/13mptcp: move to next addr when subflow creation failnet/mptcp/options.c net/mptcp/pm.c net/mptcp/protocol.h+18 -00 repliesApplied
10/13mptcp: drop useless addr_signal clearnet/mptcp/pm_netlink.c+0 -80 repliesApplied
11/13mptcp: send ack for rm_addrnet/mptcp/pm.c net/mptcp/pm_netlink.c net/mptcp/protocol.h+7 -50 repliesApplied
12/13mptcp: rename mptcp_pm_nl_add_addr_send_acknet/mptcp/pm.c net/mptcp/pm_netlink.c net/mptcp/protocol.h+6 -60 repliesApplied
13/13selftests: mptcp: signal addresses testcasestools/testing/selftests/net/mptcp/mptcp_join.sh+58 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 00/13] MPTCP: Cleanup and address advertisement fixes

This patch series contains cleanup and fixes we have been testing in the MPTCP tree. MPTCP uses TCP option headers to advertise additional address information after an initial connection is established. The main fixes here deal with making those advertisements more reliable and improving the way subflows are created after an advertisement is received.

Patches 1, 2, 4, 10, and 12 are for various cleanup or refactoring.

Patch 3 skips an extra connection attempt if there's already a subflow connection for the newly received advertisement.

Patches 5, 6, and 7 make sure that the next address is advertised when there are multiple addresses to share, the advertisement has been retried, and the peer has not echoed the advertisement. Self tests are updated.

Patches 8 and 9 fix a problem similar to 5/6/7, but covers a case where the failure was due to a subflow connection not completing.

Patches 11 and 13 send a bare ack to revoke an advertisement rather than waiting for other activity to trigger a packet send. This mirrors the way acks are sent for new advertisements. Self test is included.

Geliang Tang (12):
mptcp: drop argument port from mptcp_pm_announce_addr
mptcp: skip connecting the connected address
mptcp: drop unused subflow in mptcp_pm_subflow_established
mptcp: move to next addr when timeout
selftests: mptcp: add cfg_do_w for cfg_remove
selftests: mptcp: timeout testcases for multi addresses
mptcp: export lookup_anno_list_by_saddr
mptcp: move to next addr when subflow creation fail
mptcp: drop useless addr_signal clear
mptcp: send ack for rm_addr
mptcp: rename mptcp_pm_nl_add_addr_send_ack
selftests: mptcp: signal addresses testcases

Paolo Abeni (1):
mptcp: clean-up the rtx path

 net/mptcp/options.c                           |  3 +-
 net/mptcp/pm.c                                | 25 ++++--
 net/mptcp/pm_netlink.c                        | 69 +++++++++------
 net/mptcp/protocol.c                          | 42 +++-------
 net/mptcp/protocol.h                          | 12 ++-
 .../selftests/net/mptcp/mptcp_connect.c       | 10 ++-
 .../testing/selftests/net/mptcp/mptcp_join.sh | 84 ++++++++++++++++++-
 7 files changed, 173 insertions(+), 72 deletions(-)

base-commit: 6c996e19949b34d7edebed4f6b0511145c036404

Signature · 1 line
2.31.0