From 3054213e87c87e6c3e6d760f3af0db79b43230fe Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Mon, 21 Dec 2020 18:08:21 +0100 Subject: osmo-gbproxy: Initialize all hash_maps Change-Id: I9578af77a7b2f61b57c918a703768ca20221c294 Related: OS#4472 --- src/gbproxy/gb_proxy.c | 2 ++ 1 file changed, 2 insertions(+) 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"); -- cgit v1.2.3