mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-29 23:20:39 -04:00
mptcp: move to next addr when timeout
This patch called mptcp_pm_subflow_established to move to the next address when an ADD_ADDR has been retransmitted the maximum number of times. 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>
This commit is contained in:
committed by
David S. Miller
parent
62535200be
commit
348d5c1dec
@@ -337,6 +337,9 @@ static void mptcp_pm_add_timer(struct timer_list *timer)
|
||||
|
||||
spin_unlock_bh(&msk->pm.lock);
|
||||
|
||||
if (entry->retrans_times == ADD_ADDR_RETRANS_MAX)
|
||||
mptcp_pm_subflow_established(msk);
|
||||
|
||||
out:
|
||||
__sock_put(sk);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user