Page MenuHomeFreeBSD

tcp_ratelimit: Handle some edge cases with TLS + RL send tags.
ClosedPublic

Authored by jhb on Jan 28 2022, 9:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 2, 12:27 PM
Unknown Object (File)
Fri, Feb 27, 12:31 PM
Unknown Object (File)
Fri, Feb 27, 3:35 AM
Unknown Object (File)
Wed, Feb 11, 6:46 PM
Unknown Object (File)
Sun, Feb 8, 1:15 PM
Unknown Object (File)
Sun, Feb 8, 10:00 AM
Unknown Object (File)
Jan 30 2026, 7:48 PM
Unknown Object (File)
Jan 28 2026, 6:53 AM

Details

Summary
  • After a connection has fallen back from NIC TLS to SW TLS, any pacing rate changes should modify the inpcb send tag even though SB_TLS_IFNET is set.
  • If a connection tries to modify the pacing rate before the send tag has been converted from plain TLS to TLS + RL, don't fail the rate request set but let it fall through to setting the rate on the non-TLS inpcb RL tag.

Diff Detail

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