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
F169992436: D26803.diff
Thu, Sep 3, 5:10 AM
F169882993: D26803.id.diff
Wed, Sep 2, 9:19 PM
Unknown Object (File)
Wed, Sep 2, 7:14 AM
Unknown Object (File)
Mon, Aug 31, 8:08 PM
Unknown Object (File)
Mon, Aug 31, 7:24 AM
Unknown Object (File)
Mon, Aug 31, 2:34 AM
Unknown Object (File)
Sun, Aug 30, 1:32 AM
Unknown Object (File)
Sat, Aug 29, 4:16 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