Skip to content

refactor mptcp_addr_info and cleanups

Geliang Tang mptcp 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 3 repliesIn review
  2. v27 patches 2 repliesSuperseded
  3. v17 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Add new parameters flags and ifindex to __mptcp_subflow_connect.
- Drop the patch "mptcp: drop unnecessary CONFIG_MPTCP_IPV6" in v2.
- Add a new selftest patch.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7mptcp: move flags and ifindex out of mptcp_addr_infonet/mptcp/pm_netlink.c net/mptcp/protocol.h net/mptcp/subflow.c+28 -250 replies
2/7mptcp: use mptcp_addr_info in mptcp_out_optionsinclude/net/mptcp.h net/mptcp/options.c net/mptcp/protocol.h+31 -442 replies
3/7mptcp: drop OPTION_MPTCP_ADD_ADDR6net/mptcp/options.c net/mptcp/protocol.h+9 -150 replies
4/7mptcp: use mptcp_addr_info in mptcp_options_receivednet/mptcp/options.c net/mptcp/protocol.h+23 -450 replies
5/7mptcp: drop MPTCP_ADDR_IPVERSION_4/6net/mptcp/options.c net/mptcp/protocol.h+7 -90 replies
6/7mptcp: unify add_addr(6)_generate_hmacnet/mptcp/options.c+24 -560 replies
7/7selftests: mptcp: add the net device name testcasetools/testing/selftests/net/mptcp/mptcp_join.sh+8 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [MPTCP] [MPTCP][PATCH v3 mptcp-next 0/7] refactor mptcp_addr_info and cleanups

v3:
- Add new parameters flags and ifindex to __mptcp_subflow_connect.
- Drop the patch "mptcp: drop unnecessary CONFIG_MPTCP_IPV6" in v2.
- Add a new selftest patch.

v2:
- Patch 1, avoid changing __mptcp_subflow_connect's parameter, use container_of to get the entry.
- No change in patches 2-7.

The patch set refactored struct mptcp_addr_info, and use it in both mptcp_out_options and mptcp_out_options. Then drop the duplicate code and do cleanups.

Geliang Tang (7):
mptcp: move flags and ifindex out of mptcp_addr_info
mptcp: use mptcp_addr_info in mptcp_out_options
mptcp: drop OPTION_MPTCP_ADD_ADDR6
mptcp: use mptcp_addr_info in mptcp_options_received
mptcp: drop MPTCP_ADDR_IPVERSION_4/6
mptcp: unify add_addr(6)_generate_hmac
selftests: mptcp: add the net device name testcase

 include/net/mptcp.h                           |  21 ++-
 net/mptcp/options.c                           | 169 ++++++------------
 net/mptcp/pm_netlink.c                        |  41 +++--
 net/mptcp/protocol.h                          |  38 +---
 net/mptcp/subflow.c                           |   7 +-
 .../testing/selftests/net/mptcp/mptcp_join.sh |   8 +
 6 files changed, 110 insertions(+), 174 deletions(-)
Signature · 1 line
2.30.2