Page MenuHomeFreeBSD

Clear tp->tod in t4_pcb_detach().
ClosedPublic

Authored by jhb on Oct 30 2020, 8:35 PM.
Tags
None
Referenced Files
F110743237: D27028.diff
Sat, Feb 22, 1:49 PM
Unknown Object (File)
Wed, Feb 12, 9:26 PM
Unknown Object (File)
Wed, Feb 12, 4:52 PM
Unknown Object (File)
Fri, Jan 24, 5:37 PM
Unknown Object (File)
Nov 19 2024, 3:33 AM
Unknown Object (File)
Nov 17 2024, 1:05 PM
Unknown Object (File)
Oct 5 2024, 9:02 PM
Unknown Object (File)
Oct 3 2024, 10:30 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

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 34519
Build 31616: arc lint + arc unit