diff options
author | Geliang Tang <geliangtang@gmail.com> | 2021-03-26 11:26:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-26 15:05:15 -0700 |
commit | d84ad04941c3e30dec193d4c39fce07a4c513cb4 (patch) | |
tree | f5ac835ea4103ea5100e2a20afd3fc9cb9d58b7d /fs/nilfs2/btnode.c | |
parent | f7efc7771eac1d149c8981a6d203bce6f1c49210 (diff) | |
download | linux-d84ad04941c3e30dec193d4c39fce07a4c513cb4.tar.bz2 |
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 'fs/nilfs2/btnode.c')
0 files changed, 0 insertions, 0 deletions