tcp: fix cubic cwnd accumulate use of bytes acked
[vpp.git] / src / vnet / tcp / tcp_cubic.c
index 85c311b..cf2b9a1 100644 (file)
@@ -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