Change in osmo-sgsn[master]: osmo-gbproxy: Initialize all hash_maps

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

daniel gerrit-no-reply at lists.osmocom.org
Tue Dec 22 10:43:50 UTC 2020


daniel has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/21837 )


Change subject: osmo-gbproxy: Initialize all hash_maps
......................................................................

osmo-gbproxy: Initialize all hash_maps

Change-Id: I9578af77a7b2f61b57c918a703768ca20221c294
Related: OS#4472
---
M src/gbproxy/gb_proxy.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/37/21837/1

diff --git a/src/gbproxy/gb_proxy.c b/src/gbproxy/gb_proxy.c
index 53aecdf..d84da1a 100644
--- a/src/gbproxy/gb_proxy.c
+++ b/src/gbproxy/gb_proxy.c
@@ -1287,6 +1287,8 @@
 	/* 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");

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

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I9578af77a7b2f61b57c918a703768ca20221c294
Gerrit-Change-Number: 21837
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201222/07bacb5e/attachment.htm>


More information about the gerrit-log mailing list