From: Geliang Tang <geliangtang at gmail.com>
To: mptcp at lists.01.org
Subject: [MPTCP] [MPTCP][PATCH mptcp-next 0/2] remove id 0 address
Date: Mon, 22 Feb 2021 12:05:59 +0800 [thread overview]
Message-ID: <cover.1613966113.git.geliangtang@gmail.com> (raw)
[-- 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
reply other threads:[~2021-02-22 4:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1613966113.git.geliangtang@gmail.com \
--to=mptcp@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox