mptcp: fix delack timer
authorEric Dumazet <edumazet@google.com>
Fri, 19 Nov 2021 14:27:54 +0000 (15:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Nov 2021 14:24:00 +0000 (14:24 +0000)
commitee50e67ba0e17b1a1a8d76691d02eadf9e0f392c
treeba9e7c9c57e3c1c574ad171c65841717430a0d96
parent262ae1f9de4e9bde96db5cbe0d85f17909c7f7ef
mptcp: fix delack timer

To compute the rtx timeout schedule_3rdack_retransmission() does multiple
things in the wrong way: srtt_us is measured in usec/8 and the timeout
itself is an absolute value.

Fixes: ec3edaa7ca6ce02f ("mptcp: Add handling of outgoing MP_JOIN requests")
Acked-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <mathew.j.martineau>@linux.intel.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/options.c