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:
c518bd6
)
tcp: rate sample for persist segments
47/22847/1
author
Florin Coras
<
[email protected]
>
Tue, 8 Oct 2019 00:19:09 +0000
(17:19 -0700)
committer
Andrew Yourtchenko
<
[email protected]
>
Fri, 18 Oct 2019 14:44:01 +0000
(14:44 +0000)
Type: fix
Change-Id: I7c38d2ad6364f098529f51c15b533eb234b82716
Signed-off-by: Florin Coras <
[email protected]
>
(cherry picked from commit
dd60b1b128d8d6c07dc8b8bcbf932b808cedbaab
)
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
fb18006
..
081a6bf
100644
(file)
--- a/
src/vnet/tcp/tcp_output.c
+++ b/
src/vnet/tcp/tcp_output.c
@@
-1786,6
+1786,12
@@
tcp_timer_persist_handler (u32 index)
|| tc->snd_nxt == tc->snd_una_max
|| tc->rto_boff > 1));
+ if (tc->flags & TCP_CONN_RATE_SAMPLE)
+ {
+ tcp_bt_check_app_limited (tc);
+ tcp_bt_track_tx (tc);
+ }
+
tcp_push_hdr_i (tc, b, tc->snd_nxt, /* compute opts */ 0,
/* burst */ 0, /* update_snd_nxt */ 1);
tc->snd_una_max = seq_max (tc->snd_nxt, tc->snd_una_max);