diff options
author | Florin Coras <fcoras@cisco.com> | 2020-01-08 23:30:15 +0000 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2020-01-09 16:29:10 +0000 |
commit | a6696719cb9fcd8ab54a5007e91dac6aeffe4e70 (patch) | |
tree | fb4c0098641cf74f87316891f3682e1d4edc91f2 /src/vnet/tcp/tcp_output.c | |
parent | bbff1439c06fd92a0be639867b835407f7183519 (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
Diffstat (limited to 'src/vnet/tcp/tcp_output.c')
-rw-r--r-- | src/vnet/tcp/tcp_output.c | 5 |
1 files changed, 1 insertions, 4 deletions
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; |