* [MPTCP][PATCH mptcp-next] Squash to "mptcp: local addresses fullmesh v4"
@ 2021-07-27 4:06 Geliang Tang
0 siblings, 0 replies; only message in thread
From: Geliang Tang @ 2021-07-27 4:06 UTC (permalink / raw)
To: mptcp, geliangtang; +Cc: Geliang Tang
From: Geliang Tang <geliangtang@xiaomi.com>
pm.subflows needs to be updated in the non-fullmesh case too.
Signed-off-by: Geliang Tang <geliangtang@xiaomi.com>
---
net/mptcp/pm_netlink.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mptcp/pm_netlink.c b/net/mptcp/pm_netlink.c
index 10f09a96952b..a8d7fb99a3dd 100644
--- a/net/mptcp/pm_netlink.c
+++ b/net/mptcp/pm_netlink.c
@@ -581,6 +581,7 @@ static unsigned int fill_local_addresses_vec(struct mptcp_sock *msk,
memset(&local, 0, sizeof(local));
local.addr.family = remote->family;
+ msk->pm.subflows++;
entries[i++] = local;
}
--
2.31.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-27 4:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27 4:06 [MPTCP][PATCH mptcp-next] Squash to "mptcp: local addresses fullmesh v4" Geliang Tang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).