commit | 5c13b43fa2c503188a6d668b0dec6a22078329a2 | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Wed Mar 15 09:16:55 2023 +0100 |
committer | Hannes Reinecke <hare@suse.de> | Tue Mar 21 12:59:10 2023 +0100 |
tree | c96e2a0357a6aac33fdd28cd8e71a40a5f82350b | |
parent | b7b332e027a121cb65de11d8659bc47e5a1ab749 [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. Signed-off-by: Hannes Reinecke <hare@suse.de>