linux/drivers/nvme/host
Israel Rukshin 16001c1072 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>
2018-06-11 16:17:41 +02:00
..
core.c nvme: fix NULL pointer dereference in nvme_init_subsystem 2018-06-11 16:17:41 +02:00
fabrics.c nvme: don't hold nvmf_transports_rwsem for more than transport lookups 2018-06-08 12:51:10 -06:00
fabrics.h nvme: don't hold nvmf_transports_rwsem for more than transport lookups 2018-06-08 12:51:10 -06:00
fault_inject.c nvme: Add fault injection feature 2018-03-26 08:53:43 -06:00
fc.c blk-mq: only iterate over inflight requests in blk_mq_tagset_busy_iter 2018-05-30 11:31:34 -06:00
Kconfig IB: Revert "remove redundant INFINIBAND kconfig dependencies" 2018-05-28 10:40:16 -06:00
lightnvm.c lightnvm: remove function name in strings 2018-03-29 17:29:09 -06:00
Makefile nvme: Add fault injection feature 2018-03-26 08:53:43 -06:00
multipath.c nvme/multipath: Fix multipath disabled naming collisions 2018-05-03 09:37:50 -06:00
nvme.h nvme: cleanup double shift issue 2018-06-08 12:51:11 -06:00
pci.c nvme-pci: make CMB SQ mod-param read-only 2018-06-08 12:51:11 -06:00
rdma.c nvme-rdma: correctly check for target keyed sgl support 2018-06-08 12:51:10 -06:00
trace.c nvme: add tracepoint for nvme_setup_cmd 2018-01-26 12:34:40 +01:00
trace.h nvme: change order of qid and cmdid in completion trace 2018-04-26 13:30:08 -06:00