]> git.infradead.org Git - users/hch/misc.git/commit
nvme-tcp: control message handling for recvmsg()
authorHannes Reinecke <hare@suse.de>
Thu, 24 Aug 2023 14:39:16 +0000 (16:39 +0200)
committerKeith Busch <kbusch@kernel.org>
Wed, 11 Oct 2023 17:11:55 +0000 (10:11 -0700)
commit2837966ab2a8117b002ee9c02fa62a01db787844
tree8415b2adb201701d5fe8b1ebc274e2f89c626803
parentbe8e82caa685997b524dc7e4932853fd2fbe6199
nvme-tcp: control message handling for recvmsg()

kTLS is sending TLS ALERT messages as control messages for recvmsg().
As we can't do anything sensible with it just abort the connection
and let the userspace agent to a re-negotiation.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/tcp.c