Page MenuHomeFreeBSD

tcp: bbr.c is non-capable of doing ECN and sets an INP flag to fend off ECN however our syncache is not aware of that flag.
ClosedPublic

Authored by rrs on Apr 18 2023, 8:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 30, 7:11 AM
Unknown Object (File)
Mon, Mar 30, 7:08 AM
Unknown Object (File)
Tue, Mar 17, 8:50 PM
Unknown Object (File)
Feb 7 2026, 7:16 PM
Unknown Object (File)
Jan 29 2026, 4:08 PM
Unknown Object (File)
Jan 20 2026, 12:26 PM
Unknown Object (File)
Jan 10 2026, 10:58 AM
Unknown Object (File)
Dec 19 2025, 4:27 AM
Subscribers

Details

Summary

We need to make the syncache aware of the flag and not do ECN if its set. Note that this
is not 100% full proof but the best we can do (i.e. its still possible that you can get in a
situation where the peer try's to do ecn).

Test Plan

Packet drill can be used to send in a syn with ecn and validate that sync cache
response won't have ECN enabled.

Diff Detail

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