]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: fix delack timer
authorEric Dumazet <edumazet@google.com>
Fri, 19 Nov 2021 14:27:54 +0000 (15:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Dec 2021 08:04:49 +0000 (09:04 +0100)
commit73fed878f472b17c72949ea1cc06e9b5bbb8ae56
tree2f2a486d12a55e5440f47eb1cb866224e90e6833
parent0c9aec409340480a41245e3a0b902359c8a9cde0
mptcp: fix delack timer

[ Upstream commit a393c076f8773609234f2c265fce02a96815f48b ]

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: 8e381f2c7ea7c480 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mptcp/options.c