* [MPTCP] [MPTCP][PATCH mptcp-next 0/2] remove id 0 address
@ 2021-02-22 4:05 Geliang Tang
0 siblings, 0 replies; only message in thread
From: Geliang Tang @ 2021-02-22 4:05 UTC (permalink / raw)
To: mptcp
[-- Attachment #1: Type: text/plain, Size: 990 bytes --]
I used this patch to test:
---
diff --git a/net/mptcp/pm_netlink.c b/net/mptcp/pm_netlink.c
index 7a5e347a42a3..822281bb3c5f 100644
--- a/net/mptcp/pm_netlink.c
+++ b/net/mptcp/pm_netlink.c
@@ -1235,6 +1235,8 @@ static void mptcp_pm_remove_addrs_and_subflows(struct mptcp_sock *msk,
}
}
+ alist.ids[alist.nr++] = 0;
+
if (alist.nr) {
spin_lock_bh(&msk->pm.lock);
mptcp_pm_remove_addr(msk, alist);
---
apply: tag: export/20210218T061505
move to next addr and testcases
move to next addr when timeout
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/140
Geliang Tang (2):
mptcp: unify RM_ADDR and RM_SUBFLOW receiving
mptcp: remove id 0 address
net/mptcp/pm_netlink.c | 97 ++++++++++++++++++++----------------------
net/mptcp/protocol.c | 2 +-
net/mptcp/protocol.h | 1 +
3 files changed, 47 insertions(+), 53 deletions(-)
--
2.29.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-22 4:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-22 4:05 [MPTCP] [MPTCP][PATCH mptcp-next 0/2] remove id 0 address Geliang Tang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.