]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: local addresses fullmesh
authorGeliang Tang <geliangtang@xiaomi.com>
Tue, 17 Aug 2021 22:07:24 +0000 (15:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Aug 2021 09:10:01 +0000 (10:10 +0100)
commit68925538844ae8b35384dc144616f63e1ca52c72
tree6a61bdbcad07ac4e7a359d4db695fc6500874a60
parent360b6444f04934b88eb1fc8dffecf2abb021ba3b
mptcp: local addresses fullmesh

In mptcp_pm_nl_add_addr_received(), fill a temporary allocate array of
all local address corresponding to the fullmesh endpoint. If such array
is empty, keep the current behavior.

Elsewhere loop on such array and create a subflow for each local address
towards the given remote address

Suggested-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Geliang Tang <geliangtang@xiaomi.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/pm_netlink.c