diff options
author | Israel Rukshin <israelr@mellanox.com> | 2020-03-24 17:29:44 +0200 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2020-03-26 04:51:56 +0900 |
commit | 96135862dfcce38b98beff7d1009188263b7e6f7 (patch) | |
tree | 0cba7d5848cb85a003036a57633e893acd8e4b6b /include/xen/xenbus.h | |
parent | ce1518139e6976cf19c133b555083354fdb629b8 (diff) |
nvme-rdma: Add warning on state change failure at nvme_rdma_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/xen/xenbus.h')
0 files changed, 0 insertions, 0 deletions