Skip to content

mptcp: add support for mixed v4/v6

Paolo Abeni mptcp 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v13 patches 12 repliesSuperseded

Changes in v2 from the cover letter

- only allow mixing family for ipv6 mptcp socket with no IPV6_ONLY option (all the functional changes in 2/3 plus self-tests adaptation)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mptcp: explicitly specify sock family at subflow creation timenet/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/subflow.c+8 -61 reply
2/3mptcp: let the in kernel PM use mixed ipv4 and ipv6 addressesnet/mptcp/pm_netlink.c+42 -261 reply
3/3selftests: mptcp: add test-cases for mixed v4/v6 subflowstools/testing/selftests/net/mptcp/mptcp_join.sh+44 -91 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 mptcp-next 0/3] mptcp: add support for mixed v4/v6

The core MPTCP implementation is just a few bits of to support such feature, we just need to allow specifying the subflow family explicitly (patch 1/3) and remove the artificial constraint currently enforcing no mixed subflow in place (patch 2/3)

Some self-tests added on patch 3/3

Merry Xmas ;)

v1 -> v2:
- only allow mixing family for ipv6 mptcp socket with no IPV6_ONLY option (all the functional changes in 2/3 plus self-tests adaptation)

Paolo Abeni (3):
mptcp: explicitly specify sock family at subflow creation time
mptcp: let the in kernel PM use mixed ipv4 and ipv6 addresses
selftests: mptcp: add test-cases for mixed v4/v6 subflows

 net/mptcp/pm_netlink.c                        | 68 ++++++++++++-------
 net/mptcp/protocol.c                          |  2 +-
 net/mptcp/protocol.h                          |  3 +-
 net/mptcp/subflow.c                           |  9 +--
 .../testing/selftests/net/mptcp/mptcp_join.sh | 53 ++++++++++++---
 5 files changed, 94 insertions(+), 41 deletions(-)
Signature · 1 line
2.38.1