diff options
author | Israel Rukshin <israelr@mellanox.com> | 2020-03-24 16:29:45 +0100 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2020-03-25 20:51:56 +0100 |
commit | bea54ef53fce57c8b2f11315c9384e43b2ecb321 (patch) | |
tree | c76af6a3fb23da03ef027428c47f2c15a578310b /include/crypto/kpp.h | |
parent | nvme-rdma: Add warning on state change failure at nvme_rdma_setup_ctrl (diff) | |
download | linux-bea54ef53fce57c8b2f11315c9384e43b2ecb321.tar.xz linux-bea54ef53fce57c8b2f11315c9384e43b2ecb321.zip |
nvme-tcp: Add warning on state change failure at nvme_tcp_setup_ctrl
The transition to LIVE state should not fail in case of a new controller.
Moving to DELETING state before nvme_tcp_create_ctrl() allocates all the
resources may leads to NULL dereference at teardown flow (e.g., IO tagset,
admin_q, connect_q).
Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'include/crypto/kpp.h')
0 files changed, 0 insertions, 0 deletions