CONTAP-309574: KTLS connection closure can interfere with TLS handshake done workflow
Issue
- In rare cases, a KTLS connection socket can be closed immediately upon receiving a TLS handshake done notification.
- Due to the immediate closure, the TLS handshake thread may reference the socket after it was freed, leading to a disruption.