Page MenuHomeFreeBSD

cc_cubic: remove redundant code
ClosedPublic

Authored by cc on Feb 14 2025, 4:15 PM.
Tags
None
Referenced Files
F132953262: D49008.id151254.diff
Tue, Oct 21, 11:52 AM
F132953236: D49008.id.diff
Tue, Oct 21, 11:51 AM
F132953233: D49008.id151042.diff
Tue, Oct 21, 11:51 AM
Unknown Object (File)
Tue, Oct 21, 12:08 AM
Unknown Object (File)
Sun, Oct 19, 7:22 AM
Unknown Object (File)
Thu, Oct 16, 10:20 PM
Unknown Object (File)
Sat, Oct 4, 12:10 PM
Unknown Object (File)
Sat, Oct 4, 2:29 AM

Details

Summary

During my progress on updating cc_cubic to RFC9438, found such redundancy as:

  • W_est: we use the alternative stack local variable W_est in cubic_ack_received().
  • cwnd_prior: it is used for Reno-Friendly Region in RFC9438 Section 4.3, but we use the alternative cwnd from NewReno for Reno-Friendly as in commit ee45061051715be4704ba22d2fcd1c373e29079d.

No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable