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