[PATCHv2] nvme: blank out authentication fabrics options if not configured

Daniel Wagner dwagner at suse.de
Thu Nov 16 04:19:31 PST 2023


On Thu, Nov 16, 2023 at 01:14:35PM +0100, Hannes Reinecke wrote:
> If the config option NVME_HOST_AUTH is not selected we should not
> accept the corresponding fabrics options. This allows userspace
> to detect if NVMe authentication has been enabled for the kernel.
> 
> Cc: Shin'ichiro Kawasaki <shinichiro.kawasaki at wdc.com>
> Fixes: f50fff73d620 ("nvme: implement In-Band authentication")
> Signed-off-by: Hannes Reinecke <hare at suse.de>

Reviewed-by: Daniel Wagner <dwagner at suse.de>



More information about the Linux-nvme mailing list