Page MenuHomeFreeBSD

Clear tp->tod in t4_pcb_detach().
ClosedPublic

Authored by jhb on Oct 30 2020, 8:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 9, 1:32 PM
Unknown Object (File)
Nov 1 2025, 2:14 AM
Unknown Object (File)
Oct 30 2025, 9:56 AM
Unknown Object (File)
Oct 29 2025, 7:48 PM
Unknown Object (File)
Oct 26 2025, 5:56 AM
Unknown Object (File)
Oct 21 2025, 4:15 AM
Unknown Object (File)
Oct 21 2025, 4:15 AM
Unknown Object (File)
Oct 21 2025, 4:15 AM
Subscribers

Details

Summary

Otherwise, a socket can have a non-NULL tp->tod while TF_TOE is clear.
In particular, if a newly accepted socket falls back to non-TOE due to
an active open failure, the non-TOE socket will still have tp->tod set
even though TF_TOE is clear.

Test Plan
  • tested some TOE TLS workloads with this patch in place

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable