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
F166810369: D34085.id102060.diff
Sun, Aug 16, 8:08 PM
Unknown Object (File)
Thu, Aug 13, 3:32 AM
Unknown Object (File)
Tue, Aug 11, 9:19 PM
Unknown Object (File)
Tue, Aug 11, 4:37 PM
Unknown Object (File)
Sun, Aug 9, 4:16 PM
Unknown Object (File)
Sat, Aug 8, 2:18 AM
Unknown Object (File)
Wed, Aug 5, 9:10 AM
Unknown Object (File)
Tue, Aug 4, 8:28 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