diff options
author | Geliang Tang <geliangtang@gmail.com> | 2021-03-31 02:08:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-31 02:42:23 +0200 |
commit | 9f12e97bf16cb4032ae199537e5a1500dfafee90 (patch) | |
tree | 9bf24caa849b9a250db3c332b3f6647613ab16f2 /tools | |
parent | mptcp: remove all subflows involving id 0 address (diff) | |
download | linux-9f12e97bf16cb4032ae199537e5a1500dfafee90.tar.xz linux-9f12e97bf16cb4032ae199537e5a1500dfafee90.zip |
mptcp: unify RM_ADDR and RM_SUBFLOW receiving
There are some duplicate code in mptcp_pm_nl_rm_addr_received and
mptcp_pm_nl_rm_subflow_received. This patch unifies them into a new
function named mptcp_pm_nl_rm_addr_or_subflow. In it, use the input
parameter rm_type to identify it's now removing an address or a subflow.
Suggested-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions