On Thu, 24 Sep 2020, Geliang Tang wrote:

This patch implemented the local subflow removing function,
mptcp_pm_remove_subflow, it simply called mptcp_pm_nl_rm_subflow_received
under the PM spin lock.

We use mptcp_pm_remove_subflow to remove a local subflow, so change it's
argument from remote_id to local_id.

We check subflow->local_id in mptcp_pm_nl_rm_subflow_received to remove
a subflow.

Suggested-by: Matthieu Baerts <[email protected]>
Suggested-by: Paolo Abeni <[email protected]>
Suggested-by: Mat Martineau <[email protected]>
Signed-off-by: Geliang Tang <[email protected]>
---
net/mptcp/pm.c         |  9 +++++++--
net/mptcp/pm_netlink.c | 33 +++++++++++++++++++++++++++++++++
net/mptcp/protocol.h   |  3 ++-
3 files changed, 42 insertions(+), 3 deletions(-)

Resending this reviewed-by tag so patchwork picks it up (previous mail was not delivered to the mailing list, but I'm assuming it did go to other recipients).

Reviewed-by: Mat Martineau <[email protected]>

--
Mat Martineau
Intel

Reply via email to