neels has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/14/33214/1

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);

--
To view, visit https://gerrit.osmocom.org/c/osmo-hnbgw/+/33214
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I447f989f1d58b666bf9f1ab49ce6ba4fc5cdda80
Gerrit-Change-Number: 33214
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofm...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to