diff options
author | David S. Miller <davem@davemloft.net> | 2021-08-18 12:10:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-18 12:10:01 +0300 |
commit | 606befcd5db4c2493d4b7db9d186eb3e881c483c (patch) | |
tree | e487836c8362f6c49bc0e28a6c34a7cc8b0366a3 /net/rxrpc | |
parent | 3349d3625d62e4c0d90e854a5b7e8efda8a5c994 (diff) | |
parent | f7713dd5d23a1fbb8758fca09847906c62774277 (diff) | |
download | linux-606befcd5db4c2493d4b7db9d186eb3e881c483c.tar.xz |
Merge branch 'mptcp-mesh-path-manager'
Mat Martineau says:
====================
mptcp: Add full mesh path manager option
The path manager in MPTCP controls the creation of additional subflows
after the initial connection is created. As each peer advertises
available endpoints with the ADD_ADDR MPTCP option, the recipient of
those advertisements must decide which subflows to create from the known
local and remote interfaces that are available for use by MPTCP.
The existing in-kernel path manager will create one additional subflow
when an ADD_ADDR is received, or a local address is newly configured for
MPTCP use. The maximum number of subflows has a configurable limit.
This patch set adds a MPTCP_PM_ADDR_FLAG_FULLMESH flag to the MPTCP
netlink API that enables subflows to be created more aggressively. When
an ADD_ADDR is received from a peer, new subflows are created between
that address/port and all local addresses configured for MPTCP.
Similarly, when a new local address is newly configured for use by
MPTCP, new subflows are created between that local address and all known
remote addresses for that MPTCP connection. The configurable limit on
the number of subflows still applies. If the new flag is not used the
path manager behavior is unchanged.
Patch 1 adds a helper function and refactors another function to prepare
for the rest of the patch series.
Patches 2 and 3 add two mesh connection capabilities: initiating
subflows based on added local addresses, or reacting to incoming
advertisements.
Patches 4-6 add full mesh cases to the self tests.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions