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)
Tue, Oct 14, 10:08 AM
Unknown Object (File)
Tue, Oct 14, 10:08 AM
Unknown Object (File)
Tue, Oct 14, 10:08 AM
Unknown Object (File)
Mon, Oct 13, 8:01 PM
Unknown Object (File)
Mon, Oct 13, 5:53 AM
Unknown Object (File)
Thu, Sep 18, 12:38 AM
Unknown Object (File)
Sep 9 2025, 12:06 AM
Unknown Object (File)
Sep 8 2025, 7:18 PM

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