Re: [PATCH 09/14] nvme-tcp: control message handling for recvmsg()

Sagi Grimberg
2023-08-08T11:46:16Z

> Hi all,
>
> I'm testing this patchset and observe the issue with above.
> It's not only about passing cbuf, but the check below.
> When I would like to connect/discover without TLS,
> I got an error about unhandled TLS record.
> tls_get_record_type() simply returns 0 for non-TLS,
> so it breaks non-tls connections here.

Hannes?

probably need to make sure to test without tls (sweep
blktests should be enough).