diff options
author | Geliang Tang <[email protected]> | 2021-03-30 17:08:52 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-03-30 17:42:23 -0700 |
commit | 9f12e97bf16cb4032ae199537e5a1500dfafee90 (patch) | |
tree | 9bf24caa849b9a250db3c332b3f6647613ab16f2 /tools/perf/scripts/python/futex-contention.py | |
parent | 774c8a8dcb3cba72e37394dbc7803fe575e1292c (diff) |
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 <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Geliang Tang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions