neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/33214 )
Change subject: fixup for 'cnpool: split up context_map_find_...' ......................................................................
fixup for 'cnpool: split up context_map_find_...'
Fix: missing allocation of SCCP FSM instance.
When submitting patch [1], i failed to notice that a small but important fix, already present later on my branch, was needed for this patch to work.
[1] 'cnpool: split up context_map_find_or_create_by_rua_ctx_id()' Ifc5242547260154eb5aecd3a9d9c2aac8419e8db c6393a1f80ecf21cf912a8ad7ba2bf01b2a6b959
Change-Id: I447f989f1d58b666bf9f1ab49ce6ba4fc5cdda80 --- M src/osmo-hnbgw/context_map.c 1 file changed, 22 insertions(+), 0 deletions(-)
Approvals: neels: Looks good to me, approved Jenkins Builder: Verified
diff --git a/src/osmo-hnbgw/context_map.c b/src/osmo-hnbgw/context_map.c index 13aae0e..4d46b11 100644 --- a/src/osmo-hnbgw/context_map.c +++ b/src/osmo-hnbgw/context_map.c @@ -117,6 +117,8 @@
map->cnlink = cnlink_selected; map->scu_conn_id = new_scu_conn_id; + map_sccp_fsm_alloc(map); + llist_add_tail(&map->hnbgw_cnlink_entry, &cnlink_selected->map_list);
hash_add(hsu->hnbgw_context_map_by_conn_id, &map->hnbgw_sccp_user_entry, new_scu_conn_id);