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)
Sat, Apr 6, 1:25 PM
Unknown Object (File)
Feb 23 2024, 4:08 PM
Unknown Object (File)
Jan 21 2024, 9:36 AM
Unknown Object (File)
Jan 17 2024, 8:39 PM
Unknown Object (File)
Jan 3 2024, 4:46 PM
Unknown Object (File)
Nov 12 2023, 12:14 PM
Unknown Object (File)
Sep 27 2023, 1:51 AM
Unknown Object (File)
Sep 20 2023, 10:28 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 Skipped
Unit
Tests Skipped

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