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:
9568a58
)
tcp: fix persist assert
79/28279/2
author
Florin Coras
<
[email protected]
>
Wed, 8 Jan 2020 23:30:15 +0000
(23:30 +0000)
committer
Dave Wallace
<
[email protected]
>
Wed, 12 Aug 2020 15:24:14 +0000
(15:24 +0000)
Type: fix
Persist and retransmit can pop at the same time.
Signed-off-by: Florin Coras <
[email protected]
>
Change-Id: Ia9530645cc84c83a881a75d7b4627197dc50ed29
(cherry picked from commit
a6696719cb9fcd8ab54a5007e91dac6aeffe4e70
)
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
60e0927
..
83e90c4
100644
(file)
--- 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;