Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
bbff143
)
tcp: fix persist assert
56/24256/3
author
Florin Coras
<fcoras@cisco.com>
Wed, 8 Jan 2020 23:30:15 +0000
(23:30 +0000)
committer
John Lo
<loj@cisco.com>
Thu, 9 Jan 2020 16:29:10 +0000
(16:29 +0000)
Type: fix
Persist and retransmit can pop at the same time.
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ia9530645cc84c83a881a75d7b4627197dc50ed29
src/vnet/tcp/tcp_output.c
patch
|
blob
|
history
diff --git
a/src/vnet/tcp/tcp_output.c
b/src/vnet/tcp/tcp_output.c
index
05db727
..
631b33a
100644
(file)
--- 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;