diff options
author | Geliang Tang <[email protected]> | 2023-06-04 20:25:17 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-06-05 15:15:57 +0100 |
commit | 8b1c94da1e481090f24127b2c420b0c0b0421ce3 (patch) | |
tree | 160a795d7acc1cea1c3a49fc53180ac033554912 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 9bc009734774549f8bb8d7e526ba10e70d751a7c (diff) |
mptcp: only send RM_ADDR in nl_cmd_remove
The specifications from [1] about the "REMOVE" command say:
Announce that an address has been lost to the peer
It was then only supposed to send a RM_ADDR and not trying to delete
associated subflows.
A new helper mptcp_pm_remove_addrs() is then introduced to do just
that, compared to mptcp_pm_remove_addrs_and_subflows() also removing
subflows.
To delete a subflow, the userspace daemon can use the "SUB_DESTROY"
command, see mptcp_nl_cmd_sf_destroy().
Fixes: d9a4594edabf ("mptcp: netlink: Add MPTCP_PM_CMD_REMOVE")
Link: https://github.com/multipath-tcp/mptcp/blob/mptcp_v0.96/include/uapi/linux/mptcp.h [1]
Cc: [email protected]
Reviewed-by: Matthieu Baerts <[email protected]>
Signed-off-by: Geliang Tang <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions