]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tcp: create a helper to model exponential backoff
authorYuchung Cheng <ycheng@google.com>
Wed, 16 Jan 2019 23:05:32 +0000 (15:05 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Oct 2021 13:31:19 +0000 (15:31 +0200)
commitdb0fd9c9a6eb1173ec453f8cbffd20a464a47a61
treec49ae8271e2b2487b6dc8f84cafb9f2179b8e90a
parent9de7f0d60b996469a89a10e7bbf56e91d8ffad73
tcp: create a helper to model exponential backoff

commit 01a523b071618abbc634d1958229fe3bd2dfa5fa upstream.

Create a helper to model TCP exponential backoff for the next patch.
This is pure refactor w no behavior change.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/tcp_timer.c