tcp: create a helper to model exponential backoff
authorYuchung Cheng <ycheng@google.com>
Wed, 16 Jan 2019 23:05:32 +0000 (15:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jan 2019 23:12:26 +0000 (15:12 -0800)
commit01a523b071618abbc634d1958229fe3bd2dfa5fa
tree043afd9aa6674b92fb0bd7d6c97eb7220df3ba0b
parentc7d13c8faa74f4e8ef191f88a252cefab6805b38
tcp: create a helper to model exponential backoff

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>
net/ipv4/tcp_timer.c