]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: Retransmit DATA_FIN
authorMat Martineau <mathew.j.martineau@linux.intel.com>
Fri, 23 Apr 2021 16:40:33 +0000 (09:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Apr 2021 21:03:02 +0000 (14:03 -0700)
commit3586b02bc2cd501617305be1650383bca22af412
tree1d21140733f4199988f99eefbd0e666fa7aebe68
parente530f20dfefbb0f2614b20c787ab6198a14a6b30
mptcp: Retransmit DATA_FIN

With this change, the MPTCP-level retransmission timer is used to resend
DATA_FIN. The retranmit timer is not stopped while waiting for a
MPTCP-level ACK of DATA_FIN, and retransmitted DATA_FINs are sent on all
subflows. The retry interval starts at TCP_RTO_MIN and then doubles on
each attempt, up to TCP_RTO_MAX.

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/146
Fixes: 2e59714ed2c9 ("mptcp: Use full MPTCP-level disconnect state machine")
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c