Skip to content

mptcp: ADD_ADDR enhancements

Mat Martineau mptcp netdev 2 versions – 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 · linked by author and title

  1. v2 Latest15 patches 1 replyApplied 15/15
  2. v116 patches 2 repliesSuperseded

Patches in v2 All 15 applied

#Subject and filesSizeRepliesApplied
1/15mptcp: use WRITE_ONCE for the pernet *_maxnet/mptcp/pm_netlink.c+21 -110 repliesApplied
2/15mptcp: drop *_max fields in mptcp_pm_datanet/mptcp/mptcp_diag.c net/mptcp/pm.c net/mptcp/pm_netlink.c +1 more+77 -350 repliesApplied
3/15mptcp: create subflow or signal addr for newly added addressnet/mptcp/pm_netlink.c+27 -00 repliesApplied
4/15mptcp: send ack for every add_addrnet/mptcp/pm.c net/mptcp/pm_netlink.c+5 -80 repliesApplied
5/15selftests: mptcp: use minus values for removing address numberstools/testing/selftests/net/mptcp/mptcp_join.sh+17 -150 repliesApplied
6/15selftests: mptcp: add testcases for newly added addressestools/testing/selftests/net/mptcp/mptcp_join.sh+71 -20 repliesApplied
7/15mptcp: create the listening socket for new portnet/mptcp/pm_netlink.c net/mptcp/protocol.c net/mptcp/protocol.h +1 more+102 -60 repliesApplied
8/15mptcp: drop unused skb in subflow_token_join_requestnet/mptcp/subflow.c+2 -30 repliesApplied
9/15mptcp: add a new helper subflow_req_create_thmacnet/mptcp/subflow.c+16 -80 repliesApplied
10/15mptcp: add port number check for MP_JOINnet/mptcp/pm_netlink.c net/mptcp/protocol.h net/mptcp/subflow.c+61 -10 repliesApplied
11/15mptcp: enable use_port when invoke addresses_equalnet/mptcp/pm_netlink.c+4 -40 repliesApplied
12/15mptcp: deal with MPTCP_PM_ADDR_ATTR_PORT in PM netlinknet/mptcp/pm_netlink.c+5 -00 repliesApplied
13/15selftests: mptcp: add port argument for pm_nl_ctltools/testing/selftests/net/mptcp/pm_nl_ctl.c+22 -20 repliesApplied
14/15mptcp: add the mibs for ADD_ADDR with portnet/mptcp/mib.c net/mptcp/mib.h net/mptcp/options.c +1 more+23 -10 repliesApplied
15/15selftests: mptcp: add testcases for ADD_ADDR with porttools/testing/selftests/net/mptcp/mptcp_join.sh+159 -10 repliesApplied

Reviews trailers per patch

1 of 15 patches has a Reviewed-by or Acked-by.

PatchPaolo Abeni
1/15
2/15
3/15
4/15A-b
5/15
6/15
7/15
8/15
9/15
10/15
11/15
12/15
13/15
14/15
15/15

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

Read the v2 thread

Cover letter [PATCH net-next v2 00/15] mptcp: ADD_ADDR enhancements

This patch series from the MPTCP tree contains enhancements and associated tests for the ADD_ADDR ("add address") MPTCP option. This option allows already-connected MPTCP peers to share additional IP addresses with each other, which can then be used to create additional subflows within those MPTCP connections.

Patches 1 & 2 remove duplicated data in the per-connection path manager structure.

Patches 3-6 initiate additional subflows when an address is added using the netlink path manager interface and improve ADD_ADDR signaling reliability, subject to configured limits. Self tests are also updated.

Patches 7-15 add new support for optional port numbers in ADD_ADDR. This includes creating an additional in-kernel TCP listening socket for the requested port number, validating the port number when processing incoming subflow connections, including the port number in netlink interfaces, and adding some new MIBs. New self test cases are added for subflows connecting with alternate port numbers.

v2: Address review comments for patch 1 (drop unnecessary READ_ONCE() under lock). Drop patch 16, which will be submitted later.

Geliang Tang (15):
mptcp: use WRITE_ONCE for the pernet *_max
mptcp: drop *_max fields in mptcp_pm_data
mptcp: create subflow or signal addr for newly added address
mptcp: send ack for every add_addr
selftests: mptcp: use minus values for removing address numbers
selftests: mptcp: add testcases for newly added addresses
mptcp: create the listening socket for new port
mptcp: drop unused skb in subflow_token_join_request
mptcp: add a new helper subflow_req_create_thmac
mptcp: add port number check for MP_JOIN
mptcp: enable use_port when invoke addresses_equal
mptcp: deal with MPTCP_PM_ADDR_ATTR_PORT in PM netlink
selftests: mptcp: add port argument for pm_nl_ctl
mptcp: add the mibs for ADD_ADDR with port
selftests: mptcp: add testcases for ADD_ADDR with port

 net/mptcp/mib.c                               |   6 +
 net/mptcp/mib.h                               |   6 +
 net/mptcp/mptcp_diag.c                        |   6 +-
 net/mptcp/options.c                           |   4 +
 net/mptcp/pm.c                                |  12 +-
 net/mptcp/pm_netlink.c                        | 291 +++++++++++++++---
 net/mptcp/protocol.c                          |   2 +-
 net/mptcp/protocol.h                          |  12 +-
 net/mptcp/subflow.c                           |  79 ++++-
 .../testing/selftests/net/mptcp/mptcp_join.sh | 261 +++++++++++++++-
 tools/testing/selftests/net/mptcp/pm_nl_ctl.c |  24 +-
 11 files changed, 609 insertions(+), 94 deletions(-)

base-commit: 14e8e0f6008865d823a8184a276702a6c3cbef3d

Signature · 1 line
2.30.0