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)
commitbb85e12f8fce8f31f661cd904ede8ecf9ce843d6
tree819a0f93300fe3106682cb6e1f48a18d0a18721e
parent994650353cae9e10cca7fd61de79c911aa8ed287
parent662fbcec32f4af6bdcf5b4006b792ebe9543d945
Merge branch 'net-tls-fixes-for-nvme-over-tls'

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>