diff options
author | 2021-03-30 17:08:52 -0700 | |
---|---|---|
committer | 2021-03-30 17:42:23 -0700 | |
commit | 9f12e97bf16cb4032ae199537e5a1500dfafee90 (patch) | |
tree | 9bf24caa849b9a250db3c332b3f6647613ab16f2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | mptcp: remove all subflows involving id 0 address (diff) | |
download | wireguard-linux-9f12e97bf16cb4032ae199537e5a1500dfafee90.tar.xz wireguard-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/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions