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)
Sep 2 2025, 10:46 AM
Unknown Object (File)
Aug 15 2025, 2:38 PM
Unknown Object (File)
Jun 29 2025, 9:32 AM
Unknown Object (File)
Jun 25 2025, 12:09 PM
Unknown Object (File)
Jun 24 2025, 2:53 PM
Unknown Object (File)
Jun 9 2025, 4:46 PM
Unknown Object (File)
May 4 2025, 3:39 AM
Unknown Object (File)
Apr 26 2025, 9:27 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

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