Page MenuHomeFreeBSD

tcp: use tcp_fixed_maxseg instead of tcp_maxseg in cc modules
ClosedPublic

Authored by rscheff on Feb 7 2024, 9:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 19, 10:29 PM
Unknown Object (File)
Fri, May 15, 9:59 PM
Unknown Object (File)
Apr 27 2026, 6:55 PM
Unknown Object (File)
Apr 21 2026, 1:57 AM
Unknown Object (File)
Apr 8 2026, 11:39 PM
Unknown Object (File)
Feb 8 2026, 8:31 AM
Unknown Object (File)
Feb 7 2026, 10:43 PM
Unknown Object (File)
Jan 31 2026, 9:41 AM
Subscribers

Details

Summary

tcp_maxseg() has a longer codepath and does various additional
activities, which are not really necessary on a packet by packet
basis. Use tcp_fixed_maxseg() instead, to slightly improve
processing speed.

No external visible functional change.

Diff Detail

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