Skip to content

mptcp: Include multiple address ids in RM_ADDR

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 Latest11 patches 1 replyApplied 11/11

Patches in v1 All 11 applied

#Subject and filesSizeRepliesApplied
1/11mptcp: add rm_list in mptcp_out_optionsinclude/net/mptcp.h net/mptcp/options.c net/mptcp/pm.c +1 more+48 -130 repliesApplied
2/11mptcp: add rm_list_tx in mptcp_pm_datanet/mptcp/pm.c net/mptcp/pm_netlink.c net/mptcp/protocol.h+18 -100 repliesApplied
3/11mptcp: add rm_list in mptcp_options_receivednet/mptcp/options.c net/mptcp/pm.c net/mptcp/protocol.h+18 -100 repliesApplied
4/11mptcp: add rm_list_rx in mptcp_pm_datanet/mptcp/pm.c net/mptcp/protocol.h+3 -10 repliesApplied
5/11mptcp: remove multi addresses in PMnet/mptcp/pm_netlink.c net/mptcp/protocol.h+20 -170 repliesApplied
6/11mptcp: remove multi subflows in PMnet/mptcp/pm.c net/mptcp/pm_netlink.c net/mptcp/protocol.h+31 -220 repliesApplied
7/11mptcp: remove multi addresses and subflows in PMnet/mptcp/pm_netlink.c+48 -00 repliesApplied
8/11mptcp: remove a list of addrs when flushingnet/mptcp/pm_netlink.c+4 -40 repliesApplied
9/11selftests: mptcp: add invert argument for chk_rm_nrtools/testing/selftests/net/mptcp/mptcp_join.sh+16 -50 repliesApplied
10/11selftests: mptcp: set addr id for removing testcasestools/testing/selftests/net/mptcp/mptcp_join.sh+24 -140 repliesApplied
11/11selftests: mptcp: add testcases for removing addrstools/testing/selftests/net/mptcp/mptcp_join.sh+23 -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/11] mptcp: Include multiple address ids in RM_ADDR

Here's a patch series from the MPTCP tree that extends the capabilities of the MPTCP RM_ADDR header.

MPTCP peers can exchange information about their IP addresses that are available for additional MPTCP subflows. IP addresses are advertised with an ADD_ADDR header type, and those advertisements are revoked with the RM_ADDR header type. RFC 8684 allows the RM_ADDR header to include more than one address ID, so multiple advertisements can be revoked in a single header. Previous kernel versions have only used RM_ADDR with a single address ID, so multiple removals required multiple packets.

Patches 1-4 plumb address id list structures around the MPTCP code, where before only a single address ID was passed.

Patches 5-8 make use of the address lists at the path manager layer that tracks available addresses for both peers.

Patches 9-11 update the selftests to cover the new use of RM_ADDR with multiple address IDs.

Geliang Tang (11):
mptcp: add rm_list in mptcp_out_options
mptcp: add rm_list_tx in mptcp_pm_data
mptcp: add rm_list in mptcp_options_received
mptcp: add rm_list_rx in mptcp_pm_data
mptcp: remove multi addresses in PM
mptcp: remove multi subflows in PM
mptcp: remove multi addresses and subflows in PM
mptcp: remove a list of addrs when flushing
selftests: mptcp: add invert argument for chk_rm_nr
selftests: mptcp: set addr id for removing testcases
selftests: mptcp: add testcases for removing addrs

 include/net/mptcp.h                           |   9 +-
 net/mptcp/options.c                           |  47 ++++--
 net/mptcp/pm.c                                |  39 +++--
 net/mptcp/pm_netlink.c                        | 139 +++++++++++++-----
 net/mptcp/protocol.h                          |  27 +++-
 .../testing/selftests/net/mptcp/mptcp_join.sh |  82 ++++++++---
 6 files changed, 250 insertions(+), 93 deletions(-)

base-commit: 26d2e0426aacaf4c128dc57111f0d460ab20e8b5

Signature · 1 line
2.30.2