diff options
| author | Geliang Tang <geliangtang@gmail.com> | 2021-03-26 21:26:32 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-27 01:05:15 +0300 |
| commit | d84ad04941c3e30dec193d4c39fce07a4c513cb4 (patch) | |
| tree | f5ac835ea4103ea5100e2a20afd3fc9cb9d58b7d /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | f7efc7771eac1d149c8981a6d203bce6f1c49210 (diff) | |
| download | linux-d84ad04941c3e30dec193d4c39fce07a4c513cb4.tar.xz | |
mptcp: skip connecting the connected address
This patch added a new helper named lookup_subflow_by_daddr to find
whether the destination address is in the msk's conn_list.
In mptcp_pm_nl_add_addr_received, use lookup_subflow_by_daddr to check
whether the announced address is already connected. If it is, skip
connecting this address and send out the echo.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
