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:
ed999e3
)
tcp: fix cubic cwnd accumulate use of bytes acked
53/34853/1
author
Florin Coras
<fcoras@cisco.com>
Fri, 7 Jan 2022 23:06:42 +0000
(15:06 -0800)
committer
Florin Coras
<fcoras@cisco.com>
Fri, 7 Jan 2022 23:06:42 +0000
(15:06 -0800)
Use what was provided instead of tc->bytes_acked
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I0ed736d2ee247e231fccdf4a969fcf6bc15b7978
src/vnet/tcp/tcp_cubic.c
patch
|
blob
|
history
diff --git
a/src/vnet/tcp/tcp_cubic.c
b/src/vnet/tcp/tcp_cubic.c
index
85c311b
..
cf2b9a1
100644
(file)
--- a/
src/vnet/tcp/tcp_cubic.c
+++ b/
src/vnet/tcp/tcp_cubic.c
@@
-141,7
+141,7
@@
cubic_cwnd_accumulate (tcp_connection_t * tc, u32 thresh, u32 bytes_acked)
tc->cwnd_acc_bytes = 0;
}
- tcp_cwnd_accumulate (tc, thresh,
tc->
bytes_acked);
+ tcp_cwnd_accumulate (tc, thresh, bytes_acked);
}
static void