Page MenuHomeFreeBSD

Build RACK and BBR TCP stacks as a part of LINT
ClosedPublic

Authored by gallatin on Dec 29 2022, 9:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 12, 11:17 PM
Unknown Object (File)
Sun, May 12, 11:17 PM
Unknown Object (File)
Wed, Apr 24, 7:24 PM
Unknown Object (File)
Apr 6 2024, 1:04 PM
Unknown Object (File)
Mar 16 2024, 1:58 PM
Unknown Object (File)
Feb 12 2024, 8:18 PM
Unknown Object (File)
Jan 27 2024, 9:20 AM
Unknown Object (File)
Jan 12 2024, 2:58 PM

Details

Summary

When RACK and BBR were added to the kernel, they were hidden behind ' WITH_EXTRA_TCP_STACKS=1'. Unfortunately, that was never added to any NOTES file, so RACK is not tested with the various LINT-NOINET, LINT-NOINET6, and LINT-NOIP kernels. This leads to the stacks sometimes being broken in these kernels, since changes to them are not build tested. I discovered this because I have WITH_EXTRA_TCP_STACKS=1 in my src.conf, and saw 'make universe' fail when testing another change.

This change fixes rack so that it compiles with the LINT-NO* kernels, and adds WITH_EXTRA_TCP_STACKS=1 to all NOTES kernels (trying to follow the style in each NOTES file), so that rack and bbr are compile tested regularly.

This change does not alter the supported status of RACK or BBR, and replaces D37715

Diff Detail

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

Event Timeline

I actually prefer D37715. Isn't that what we have discussed on the TCP call on December 15th?

sys/arm/conf/NOTES
85 ↗(On Diff #114642)

I think that you could add this to sys/conf/NOTES instead of all the arch NOTES files.

Add WITH_EXTRA_TCP_STACKS to common NOTES file, as suggested by @imp

I actually prefer D37715. Isn't that what we have discussed on the TCP call on December 15th?

That's a bit more than I want to take on..

sys/arm/conf/NOTES
85 ↗(On Diff #114642)

Thanks, that's so much cleaner!

@gallatin transport Has had anyone the time to look at https://reviews.freebsd.org/D36538? At least TCPHPTS should be included somewhere and the documentation should also be updated!

In D37903#861938, @gbe wrote:

@gallatin transport Has had anyone the time to look at https://reviews.freebsd.org/D36538? At least TCPHPTS should be included somewhere and the documentation should also be updated!

I left a comment on that review. For this review, HPTS is included in LINT. And the scope of this is to simply ensure these stacks compile..

Rebased to today's current.

This revision is now accepted and ready to land.Jan 10 2023, 9:07 PM