diff options
author | Israel Rukshin <israelr@mellanox.com> | 2018-06-10 12:31:10 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-06-11 16:17:41 +0200 |
commit | 16001c10725e11b73b8518f42e414506bf73c291 (patch) | |
tree | f24a46cc72411e71324c7f83951e0dfb93d57a99 /drivers/scsi/arcmsr | |
parent | block: fix use-after-free in block flush handling (diff) | |
download | linux-16001c10725e11b73b8518f42e414506bf73c291.tar.xz linux-16001c10725e11b73b8518f42e414506bf73c291.zip |
nvme: fix NULL pointer dereference in nvme_init_subsystem
When using nvme-pci driver the nvmf_ctrl_options is NULL.
There is no need to check for discovery_nqn flag at non-fabrics controller.
Fixes: 181303d0 ("nvme-fabrics: allow duplicate connections to the discovery controller")
Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/arcmsr')
0 files changed, 0 insertions, 0 deletions