]> www.infradead.org Git - users/hch/misc.git/commit
nvmet-auth: authenticate on admin queue only
authorHannes Reinecke <hare@kernel.org>
Tue, 22 Apr 2025 09:15:55 +0000 (11:15 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 9 May 2025 05:03:42 +0000 (07:03 +0200)
commitf38f6d4b309f56bb08c97ad9364fdaa8b9a23eb3
tree206f868c602a0cba43149485e6ea49039e0f4876
parentcc37e70d4fc2bda05b0ed3688bfd137fbe8f5c6f
nvmet-auth: authenticate on admin queue only

Do not start authentication on I/O queues as it doesn't really add value,
and secure concatenation disallows it anyway.  Authentication commands on
I/O queues are not aborted, so the host may still run the authentication
protocol on I/O queues.

Signed-off-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/auth.c
drivers/nvme/target/fabrics-cmd.c