diff options
author | Geliang Tang <geliangtang@gmail.com> | 2021-03-26 21:26:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-27 01:05:15 +0300 |
commit | 8dd5efb1f91b09975295bd162441fe4a23edb3e2 (patch) | |
tree | 648561619a6fb57ae62830ee922f7b781bf70d19 /net/mptcp/pm.c | |
parent | b65d95adb802b41a501b75ee4646f4a49fc66eb4 (diff) | |
download | linux-8dd5efb1f91b09975295bd162441fe4a23edb3e2.tar.xz |
mptcp: send ack for rm_addr
This patch changes the sending ACK conditions for the ADD_ADDR, send an
ACK packet for RM_ADDR too.
In mptcp_pm_remove_addr, invoke mptcp_pm_nl_add_addr_send_ack to send
the ACK packet.
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 'net/mptcp/pm.c')
-rw-r--r-- | net/mptcp/pm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mptcp/pm.c b/net/mptcp/pm.c index 966942d1013f..efa7deb96139 100644 --- a/net/mptcp/pm.c +++ b/net/mptcp/pm.c @@ -53,6 +53,7 @@ int mptcp_pm_remove_addr(struct mptcp_sock *msk, const struct mptcp_rm_list *rm_ msk->pm.rm_list_tx = *rm_list; rm_addr |= BIT(MPTCP_RM_ADDR_SIGNAL); WRITE_ONCE(msk->pm.addr_signal, rm_addr); + mptcp_pm_nl_add_addr_send_ack(msk); return 0; } |