diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2020-12-21 18:08:21 +0100 |
---|---|---|
committer | Daniel Willmann <dwillmann@sysmocom.de> | 2020-12-21 18:44:08 +0100 |
commit | 3054213e87c87e6c3e6d760f3af0db79b43230fe (patch) | |
tree | 80fea3fe8df1b2fdeb5e69bf0998b2bb834d5afa | |
parent | 3326ba7d4c046ed4dcd4946cb354e18a99e139dc (diff) |
osmo-gbproxy: Initialize all hash_maps
Change-Id: I9578af77a7b2f61b57c918a703768ca20221c294
Related: OS#4472
-rw-r--r-- | src/gbproxy/gb_proxy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gbproxy/gb_proxy.c b/src/gbproxy/gb_proxy.c index 53aecdf04..d84da1af6 100644 --- a/src/gbproxy/gb_proxy.c +++ b/src/gbproxy/gb_proxy.c @@ -1287,6 +1287,8 @@ int gbproxy_init_config(struct gbproxy_config *cfg) /* by default we advertise 100% of the BSS-side capacity to _each_ SGSN */ cfg->pool.bvc_fc_ratio = 100; hash_init(cfg->bss_nses); + hash_init(cfg->sgsn_nses); + hash_init(cfg->cells); cfg->ctrg = rate_ctr_group_alloc(tall_sgsn_ctx, &global_ctrg_desc, 0); if (!cfg->ctrg) { LOGP(DGPRS, LOGL_ERROR, "Cannot allocate global counter group!\n"); |