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 <matthieu.bae...@tessares.net>
Suggested-by: Paolo Abeni <pab...@redhat.com>
Suggested-by: Mat Martineau <mathew.j.martin...@linux.intel.com>
Signed-off-by: Geliang Tang <geliangt...@gmail.com>
---
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 <mathew.j.martin...@linux.intel.com>

--
Mat Martineau
Intel

Reply via email to