Thread (44 messages) 44 messages, 3 authors, 2021-09-29

Re: [PATCH 10/12] nvmet: Implement basic In-Band Authentication

From: Sagi Grimberg <sagi@grimberg.me>
Date: 2021-09-26 14:31:21
Also in: linux-nvme

+int nvmet_setup_auth(struct nvmet_ctrl *ctrl)
+{
+	int ret = 0;
+	struct nvmet_host_link *p;
+	struct nvmet_host *host = NULL;
+	const char *hash_name;
+
+	down_read(&nvmet_config_sem);
+	if (ctrl->subsys->type == NVME_NQN_DISC)
+		goto out_unlock;
+       if (ctrl->subsys->allow_any_host)
+               goto out_unlock;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help