osmith submitted this change.

View Change

Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve fixeria: Looks good to me, approved laforge: Looks good to me, approved
main: use osmo_fsm_set_dealloc_ctx(OTC_SELECT)

Prepare to use osmo_mgcp_ep_alloc in a future patch, which requires
using osmo_fsm_set_dealloc_ctx(OTC_SELECT) for deferred FSM deallocation
(see the warning in src/libosmo-mgcp-client/mgcp_client_endpoint_fsm.c).

Related: SYS#5560
Change-Id: I97abf88fa64cc1a4906f356c57912593d4366a37
---
M src/osmo-bsc-nat/main.c
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/osmo-bsc-nat/main.c b/src/osmo-bsc-nat/main.c
index e58d687..01b08a2 100644
--- a/src/osmo-bsc-nat/main.c
+++ b/src/osmo-bsc-nat/main.c
@@ -184,6 +184,7 @@

talloc_enable_null_tracking();
tall_bsc_nat_ctx = talloc_named_const(NULL, 0, "bsc_nat");
+ osmo_fsm_set_dealloc_ctx(OTC_SELECT);

rc = osmo_init_logging2(tall_bsc_nat_ctx, &bsc_nat_log_info);
if (rc < 0)

2 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.

To view, visit change 27709. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-bsc-nat
Gerrit-Branch: master
Gerrit-Change-Id: I97abf88fa64cc1a4906f356c57912593d4366a37
Gerrit-Change-Number: 27709
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-MessageType: merged