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)
commit6477dd39e62c3a67cfa368ddc127410b4ae424c6
tree1d21140733f4199988f99eefbd0e666fa7aebe68
parentd13f048dd40e8577260cd43faea8ec9b77520197
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: 43b54c6ee382 ("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