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)
Mon, Sep 22, 5:15 PM
Unknown Object (File)
Sun, Sep 21, 12:23 PM
Unknown Object (File)
Aug 30 2025, 5:18 PM
Unknown Object (File)
Aug 16 2025, 4:13 PM
Unknown Object (File)
Aug 11 2025, 11:49 PM
Unknown Object (File)
Jul 24 2025, 6:04 PM
Unknown Object (File)
Jul 1 2025, 11:10 PM
Unknown Object (File)
Jul 1 2025, 5:00 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 Passed
Unit
No Test Coverage
Build Status
Buildable 55842
Build 52731: arc lint + arc unit