Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix TCP loss recovery, VPP-745
[vpp.git]
/
src
/
vnet
/
tcp
/
tcp_newreno.c
diff --git
a/src/vnet/tcp/tcp_newreno.c
b/src/vnet/tcp/tcp_newreno.c
index
856dffe
..
3525f4e
100644
(file)
--- a/
src/vnet/tcp/tcp_newreno.c
+++ b/
src/vnet/tcp/tcp_newreno.c
@@
-38,7
+38,7
@@
newreno_rcv_ack (tcp_connection_t * tc)
else
{
/* Round up to 1 if needed */
- tc->cwnd += clib_max (
tc->snd_mss * tc->snd_mss
/ tc->cwnd, 1);
+ tc->cwnd += clib_max (
(tc->snd_mss * tc->snd_mss)
/ tc->cwnd, 1);
}
}