]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit429aa4e34244b040ff3422d7ebf4e5cff9739fab
tree6a584647a18d274929570b49b8c9140274db763d
parent9d7024cc3ad17438f4e4c71f2b56515ab4fc596b
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: 65711e9088b1 ("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