Page MenuHomeFreeBSD

Fix some NewReno handlers in case of being called from other CC modules
ClosedPublic

Authored by tuexen on Oct 25 2021, 8:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 21, 3:07 AM
Unknown Object (File)
Oct 4 2024, 7:25 AM
Unknown Object (File)
Oct 1 2024, 7:39 AM
Unknown Object (File)
Oct 1 2024, 7:13 AM
Unknown Object (File)
Oct 1 2024, 5:01 AM
Unknown Object (File)
Sep 8 2024, 5:34 AM
Unknown Object (File)
Sep 5 2024, 6:48 PM
Unknown Object (File)
Sep 4 2024, 1:37 AM
Subscribers

Details

Summary

Some NewReno functions use the internal data, but are also called from other CC modules. Ensure that in this case, the internal data is not accessed.

This should fix:

Diff Detail

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

Event Timeline

tuexen retitled this revision from Fix some NewReno handlers in case of called from other CC modules to Fix some NewReno handlers in case of being called from other CC modules.
This revision is now accepted and ready to land.Oct 25 2021, 8:37 PM

Overall I think this is a good fix for an ugly problem. I.e. that other
CC algo's use newreno. I think we should re-look at this and have the
"reused" functions put into the kernel as just non-static functions that
can be used by CC modules. Pass in beta etc...

sys/netinet/cc/cc_newreno.c
405

nit double ;; on end