nvmf: update discovery log when listener is removed
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Iaef6e7b1c133a49390acd985a77b5f4349f78653 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10358 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
parent
7e68d0baca
commit
7339c2cf45
@ -358,6 +358,7 @@ _nvmf_subsystem_remove_listener(struct spdk_nvmf_subsystem *subsystem,
|
||||
}
|
||||
|
||||
TAILQ_REMOVE(&subsystem->listeners, listener, link);
|
||||
nvmf_update_discovery_log(listener->subsystem->tgt, NULL);
|
||||
free(listener->ana_state);
|
||||
free(listener);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user