tcp: fix cubic cwnd accumulate use of bytes acked

Use what was provided instead of tc->bytes_acked

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I0ed736d2ee247e231fccdf4a969fcf6bc15b7978
This commit is contained in:
Florin Coras
2022-01-07 15:06:42 -08:00
parent ed999e3b81
commit ded32ed0e8

View 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