tcp: introduce tcp_rto_delta_us() helper for xmit timer fix
authorNeal Cardwell <ncardwell@google.com>
Thu, 3 Aug 2017 13:19:52 +0000 (09:19 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 22:38:30 +0000 (15:38 -0700)
commite1a10ef7fa876f8510aaec36ea5c0cf34baba410
tree6a584647a18d274929570b49b8c9140274db763d
parentb91d532928dff2141ea9c107c3e73104d9843767
tcp: introduce tcp_rto_delta_us() helper for xmit timer fix

Pure refactor. This helper will be required in the xmit timer fix
later in the patch series. (Because the TLP logic will want to make
this calculation.)

Fixes: 6ba8a3b19e76 ("tcp: Tail loss probe (TLP)")
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Nandita Dukkipati <nanditad@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c