Skip to content

mptcp: Add port parameter to ADD_ADDR option

Mat Martineau mptcp netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11mptcp: unify ADD_ADDR and echo suboptions writingnet/mptcp/options.c+19 -180 replies
2/11mptcp: unify ADD_ADDR and ADD_ADDR6 suboptions writingnet/mptcp/options.c+17 -200 replies
3/11mptcp: add port support for ADD_ADDR suboption writinginclude/net/mptcp.h net/mptcp/options.c net/mptcp/protocol.h+33 -80 replies
4/11mptcp: use adding up size to get ADD_ADDR lengthnet/mptcp/protocol.h+8 -40 replies
5/11mptcp: add the outgoing ADD_ADDR port supportnet/mptcp/options.c net/mptcp/pm.c net/mptcp/protocol.h+20 -70 replies
6/11mptcp: send out dedicated packet for ADD_ADDR using portnet/mptcp/options.c net/mptcp/pm.c net/mptcp/pm_netlink.c+15 -50 replies
7/11mptcp: add port parameter for mptcp_pm_announce_addrnet/mptcp/pm.c net/mptcp/pm_netlink.c net/mptcp/protocol.h+11 -60 replies
8/11mptcp: print out port and ahmac when receiving ADD_ADDRnet/mptcp/options.c+3 -30 replies
9/11mptcp: drop rm_addr_signal flagnet/mptcp/pm.c net/mptcp/protocol.h+17 -50 replies
10/11mptcp: rename add_addr_signal and mptcp_add_addr_statusnet/mptcp/pm.c net/mptcp/pm_netlink.c net/mptcp/protocol.h+16 -160 replies
11/11mptcp: use the variable sk instead of open-codingnet/mptcp/pm_netlink.c+2 -20 replies

Reviews trailers per patch

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

PatchMatthieu Baerts
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11R-b

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

Read the v1 thread

Cover letter [PATCH net-next 00/11] mptcp: Add port parameter to ADD_ADDR option

The ADD_ADDR MPTCP option is used to announce available IP addresses that a peer may connect to when adding more TCP subflows to an existing MPTCP connection. There is an optional port number field in that ADD_ADDR header, and this patch set adds capability for that port number to be sent and received.

Patches 1, 2, and 4 refactor existing ADD_ADDR code to simplify implementation of port number support.

Patches 3 and 5 are the main functional changes, for sending and receiving the port number in the MPTCP ADD_ADDR option.

Patch 6 sends the ADD_ADDR option with port number on a bare TCP ACK, since the extra length of the option may run in to cases where sufficient TCP option space is not available on a data packet.

Patch 7 plumbs in port number support for the in-kernel MPTCP path manager.

Patches 8-11 add some optional debug output and a little more cleanup refactoring.

Geliang Tang (11):
mptcp: unify ADD_ADDR and echo suboptions writing
mptcp: unify ADD_ADDR and ADD_ADDR6 suboptions writing
mptcp: add port support for ADD_ADDR suboption writing
mptcp: use adding up size to get ADD_ADDR length
mptcp: add the outgoing ADD_ADDR port support
mptcp: send out dedicated packet for ADD_ADDR using port
mptcp: add port parameter for mptcp_pm_announce_addr
mptcp: print out port and ahmac when receiving ADD_ADDR
mptcp: drop rm_addr_signal flag
mptcp: rename add_addr_signal and mptcp_add_addr_status
mptcp: use the variable sk instead of open-coding

 include/net/mptcp.h    |   1 +
 net/mptcp/options.c    | 103 ++++++++++++++++++++++++++---------------
 net/mptcp/pm.c         |  40 +++++++++++-----
 net/mptcp/pm_netlink.c |  31 +++++++++----
 net/mptcp/protocol.h   |  50 ++++++++++++--------
 5 files changed, 146 insertions(+), 79 deletions(-)
Signature · 1 line
2.29.2