Merge branch 'net-tls-fixes-for-nvme-over-tls'
authorJakub Kicinski <kuba@kernel.org>
Fri, 28 Jul 2023 02:49:38 +0000 (19:49 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 28 Jul 2023 03:11:48 +0000 (20:11 -0700)
Hannes Reinecke says:

====================
net/tls: fixes for NVMe-over-TLS

here are some small fixes to get NVMe-over-TLS up and running.
The first set are just minor modifications to have MSG_EOR handled
for TLS, but the second set implements the ->read_sock() callback
for tls_sw.
The ->read_sock() callbacks return -EIO when encountering any TLS
Alert message, but as that's the default behaviour anyway I guess
we can get away with it.
====================

Applied on top of the tag in case Sagi gets convinced to pull it.

Link: https://lore.kernel.org/r/20230726191556.41714-1-hare@suse.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge