[PATCH 3/3] nvme-fabrics: prevent overriding of existing host

Christoph Hellwig hch at lst.de
Thu May 11 06:16:25 PDT 2023


On Wed, May 10, 2023 at 09:02:31PM +0300, Max Gurtovoy wrote:
> When first connecting a target using the "default" host parameters,
> setting the hostid from the command line during a subsequent connection
> establishment would override the "default" hostid parameter. This would
> cause an existing connection that is already using the host definitions
> to lose its hostid.

We need to reject that second connect - hostids and hostnqns should
have a 1:1 relationship.



More information about the Linux-nvme mailing list