diff options
author | Geliang Tang <geliangtang@gmail.com> | 2021-03-31 02:08:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-31 02:42:23 +0200 |
commit | 740d798e8767d8a449902b1a1bbc70facfce19b5 (patch) | |
tree | 3dacd97e728c3425d2311067469f29a49374d0a6 /tools | |
parent | mptcp: unify RM_ADDR and RM_SUBFLOW receiving (diff) | |
download | linux-740d798e8767d8a449902b1a1bbc70facfce19b5.tar.xz linux-740d798e8767d8a449902b1a1bbc70facfce19b5.zip |
mptcp: remove id 0 address
This patch added a new function mptcp_nl_remove_id_zero_address to
remove the id 0 address.
In this function, traverse all the existing msk sockets to find the
msk matched the input IP address. Then fill the removing list with
id 0, and pass it to mptcp_pm_remove_addr and mptcp_pm_remove_subflow.
Suggested-by: Paolo Abeni <pabeni@redhat.com>
Suggested-by: Matthieu Baerts <matthieu.baerts@tessares.net>
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