Page MenuHomeFreeBSD

cxgbe tom: Handle a race condition when enabling TLS offload
ClosedPublic

Authored by jhb on Mar 19 2024, 11:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 18, 12:04 AM
Unknown Object (File)
Thu, May 9, 10:51 PM
Unknown Object (File)
Thu, May 9, 8:27 PM
Unknown Object (File)
Thu, May 9, 12:57 PM
Unknown Object (File)
Thu, May 9, 3:40 AM
Unknown Object (File)
Thu, May 9, 3:35 AM
Unknown Object (File)
Thu, May 2, 10:10 AM
Unknown Object (File)
Thu, May 2, 10:09 AM
Subscribers

Details

Summary

Use a separate state for when a request to set RX_QUIESCE has been
sent but the resulting TCB reply has not been received. In
particular, this correctly handles the case where data has been
received and queued in the receive queue before the quiesce request
takes effect.

Sponsored by: Chelsio Communications

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Mar 19 2024, 11:20 PM

I ran into this testing the DDP changes for NFS (was ensuring that TLS offload was used instead of DDP for supported TLS 1.2 ciphers). This race was triggered on the server side where presumably the client had sent an RPC immediately after completing the TLS handshake.

This revision is now accepted and ready to land.Mar 19 2024, 11:28 PM