I recently upgraded from 15.0-RELEASE-p9 to 15.0-RELEASE-p10 and a ktls test I have running as part of a software build for several years stopped working. This test simply creates a local TLS connection and sends some data to and from the peers. The test uses openssl (base) with SSL_OP_ENABLE_KTLS such that ktls is used if enabled (which it has been for several years). Since the kernel upgrade I get a EBADMSG error in the server when reading the initial data sent from the client. Note that if I dont set SSL_OP_ENABLE_KTLS on either end of the connection the test works fine. It also works fine for kern.ipc.tls.enable=0
The was broken in commit https://cgit.freebsd.org/src/commit/?id=540a315cdb46d6aa3cdbb3797710db652b3c4f4a
^Triage: Cc: committer in question.
Are you able to test patches? If so, does this fix the problem? https://reviews.freebsd.org/D57557
(In reply to Mark Johnston from comment #3) Yes! This does fix it, I applied it directly to the tree at the broken commit (since I had that built)