summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-01-08 23:30:15 +0000
committerDave Wallace <dwallacelf@gmail.com>2020-08-12 15:24:14 +0000
commit71eab61d3162628666dcf0a507a24a554681c409 (patch)
treeb5009a156ad4bdeef6c14e5839e31ba87ec9d805 /src/vnet
parent9568a58ee571b53ed98105a4cd1350cb52a4de65 (diff)
tcp: fix persist assert
Type: fix Persist and retransmit can pop at the same time. Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ia9530645cc84c83a881a75d7b4627197dc50ed29 (cherry picked from commit a6696719cb9fcd8ab54a5007e91dac6aeffe4e70)
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/tcp/tcp_output.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/vnet/tcp/tcp_output.c b/src/vnet/tcp/tcp_output.c
index 60e0927af85..83e90c47d6c 100644
--- a/src/vnet/tcp/tcp_output.c
+++ b/src/vnet/tcp/tcp_output.c
@@ -1696,10 +1696,7 @@ tcp_timer_persist_handler (u32 index, u32 thread_index)
}
if (available_bytes <= offset)
- {
- ASSERT (tcp_timer_is_active (tc, TCP_TIMER_RETRANSMIT));
- return;
- }
+ return;
/* Increment RTO backoff */
tc->rto_boff += 1;