aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/tcp/tcp_timer.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-10-22 11:22:22 -0700
committerDave Barach <openvpp@barachs.net>2020-10-23 19:24:30 +0000
commiteaec00cf87d155511b90df4fb83d7e99cb3f185f (patch)
treed3211aa7df45122d9bfcf0aab68ef58f214e8d51 /src/vnet/tcp/tcp_timer.h
parente7653c3e35dfbe1090304af89f9713d917fbb84b (diff)
tcp: remove force retransmit timer update
Also simplify condition for detecting unintended timer pops. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I8b120dfc2d16e40ee865240dbc9667708cd1c808
Diffstat (limited to 'src/vnet/tcp/tcp_timer.h')
-rw-r--r--src/vnet/tcp/tcp_timer.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/vnet/tcp/tcp_timer.h b/src/vnet/tcp/tcp_timer.h
index 06322a27d7e..45cf38263be 100644
--- a/src/vnet/tcp/tcp_timer.h
+++ b/src/vnet/tcp/tcp_timer.h
@@ -66,14 +66,6 @@ tcp_retransmit_timer_reset (tcp_timer_wheel_t * tw, tcp_connection_t * tc)
}
always_inline void
-tcp_retransmit_timer_force_update (tcp_timer_wheel_t * tw,
- tcp_connection_t * tc)
-{
- tcp_timer_update (tw, tc, TCP_TIMER_RETRANSMIT,
- clib_max (tc->rto * TCP_TO_TIMER_TICK, 1));
-}
-
-always_inline void
tcp_persist_timer_set (tcp_timer_wheel_t * tw, tcp_connection_t * tc)
{
/* Reuse RTO. It's backed off in handler */