From a6696719cb9fcd8ab54a5007e91dac6aeffe4e70 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Wed, 8 Jan 2020 23:30:15 +0000 Subject: tcp: fix persist assert Type: fix Persist and retransmit can pop at the same time. Signed-off-by: Florin Coras Change-Id: Ia9530645cc84c83a881a75d7b4627197dc50ed29 --- src/vnet/tcp/tcp_output.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/vnet') diff --git a/src/vnet/tcp/tcp_output.c b/src/vnet/tcp/tcp_output.c index 05db72770f5..631b33ae819 100644 --- a/src/vnet/tcp/tcp_output.c +++ b/src/vnet/tcp/tcp_output.c @@ -1688,10 +1688,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; -- cgit 1.2.3-korg