aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorMax Gurtovoy <[email protected]>2023-05-12 18:41:55 +0300
committerKeith Busch <[email protected]>2023-06-12 10:36:58 -0700
commitae8bd606e09bbdb2607c8249872cc2aeaf2fcc72 (patch)
treebc1c1c52d3e0732bdef4f1ea1261ac954187fb6f /drivers/fpga/fpga-bridge.c
parent5e4b55fa522ec0839f33a73fe5facf609ee66b58 (diff)
nvme-fabrics: prevent overriding of existing host
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. To address this issue, the code has been modified to allow only 1:1 mapping between hostnqn and hostid. This will maintain unambiguous host identification. Any non 1:1 mapping will be rejected during connection establishment. Tested-by: Noam Gottlieb <[email protected]> Reviewed-by: Israel Rukshin <[email protected]> Signed-off-by: Max Gurtovoy <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions