-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tg import create t/mptcp-add-address-into-userspace-pm-list
- Loading branch information
Showing
1 changed file
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
From: Matthieu Baerts <matthieu.baerts@tessares.net> | ||
Subject: [PATCH] t/mptcp-add-address-into-userspace-pm-list | ||
From: Geliang Tang <geliang.tang@suse.com> | ||
Subject: [PATCH] mptcp: add address into userspace pm list | ||
|
||
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> | ||
Add the address into userspace_pm_local_addr_list when the subflow is | ||
created. Make sure it can be found in mptcp_nl_cmd_remove(). And delete | ||
it in the new helper mptcp_userspace_pm_delete_local_addr(). | ||
|
||
By doing this, the "REMOVE" command also works with subflows that have | ||
been created via the "SUB_CREATE" command instead of restricting to | ||
the addresses that have been announced via the "ANNOUNCE" command. | ||
|
||
Fixes: d9a4594edabf ("mptcp: netlink: Add MPTCP_PM_CMD_REMOVE") | ||
Link: https://github.com/multipath-tcp/mptcp_net-next/issues/379 | ||
Signed-off-by: Geliang Tang <geliang.tang@suse.com> | ||
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net> |