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)
Sun, Mar 29, 8:04 PM
Unknown Object (File)
Wed, Mar 25, 5:28 AM
Unknown Object (File)
Mon, Mar 23, 4:19 PM
Unknown Object (File)
Mon, Mar 23, 12:40 PM
Unknown Object (File)
Sun, Mar 22, 6:02 PM
Unknown Object (File)
Fri, Mar 20, 2:19 PM
Unknown Object (File)
Fri, Mar 20, 5:35 AM
Unknown Object (File)
Wed, Mar 18, 3:39 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