Page MenuHomeFreeBSD

Check TF_TOE not the tod pointer to determine if TOE is active.
ClosedPublic

Authored by jhb on Oct 15 2020, 6:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 13, 1:33 AM
Unknown Object (File)
Dec 1 2025, 1:23 AM
Unknown Object (File)
Nov 27 2025, 11:58 AM
Unknown Object (File)
Nov 25 2025, 7:24 PM
Unknown Object (File)
Nov 20 2025, 8:22 PM
Unknown Object (File)
Nov 20 2025, 8:10 PM
Unknown Object (File)
Nov 20 2025, 8:10 PM
Unknown Object (File)
Nov 20 2025, 8:00 PM
Subscribers

Details

Summary

The TF_TOE flag is the check used in the rest of the network stack to
determine if TOE is active on a socket. There is at least one path in
the cxgbe(4) TOE driver that can leave the tod pointer non-NULL on a
socket not using TOE.

Test Plan
  • found by Chelsio QA, was not able to reproduce myself, but this seems like the right fix

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34193
Build 31344: arc lint + arc unit