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, Apr 21, 11:51 AM
Unknown Object (File)
Mon, Apr 20, 9:16 AM
Unknown Object (File)
Wed, Apr 15, 3:50 AM
Unknown Object (File)
Tue, Apr 14, 12:07 PM
Unknown Object (File)
Tue, Apr 14, 9:06 AM
Unknown Object (File)
Sat, Apr 11, 7:29 AM
Unknown Object (File)
Fri, Apr 10, 8:19 PM
Unknown Object (File)
Fri, Apr 10, 6:49 AM
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