| commit | f988c307b2e1f2482e0479f117b644e087894cbc | [log] [tgz] |
|---|---|---|
| author | Hannes Reinecke <hare@suse.de> | Wed Mar 15 09:16:55 2023 +0100 |
| committer | Hannes Reinecke <hare@suse.de> | Thu Aug 24 16:35:21 2023 +0200 |
| tree | 35a367655f08932fcf6e984684183e872e5eae3d | |
| parent | 420dc89aa2fc4ea3761e75bc8084acb0424e5f92 [diff] |
nvmet-tcp: peek icreq before starting TLS Incoming connection might be either 'normal' NVMe-TCP connections starting with icreq or TLS handshakes. To ensure that 'normal' connections can still be handled we need to peek the first packet and only start TLS handshake if it's not an icreq. With that we can lift the restriction to always set TREQ to 'required' when TLS1.3 is enabled. Signed-off-by: Hannes Reinecke <hare@suse.de>