Change in osmo-bsc[master]: call osmo_xua_msg_tall_ctx_init()

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Jul 11 02:29:27 UTC 2018


Neels Hofmeyr has uploaded this change for review. ( https://gerrit.osmocom.org/9955


Change subject: call osmo_xua_msg_tall_ctx_init()
......................................................................

call osmo_xua_msg_tall_ctx_init()

xua_msg allocations should not go unnoticed by our root ctx. libosmo-sigtran
recently added this API to fix that.

Depends: I618878680a096a7f7fc2d83098590f2e4cb08870 (libosmo-sccp)
Change-Id: I8d5edda17be82e0cb4a1af3e2a62cbcb3a2ddda3
---
M src/osmo-bsc/osmo_bsc_main.c
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/55/9955/1

diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index 622070b..65e82f5 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -56,6 +56,8 @@
 
 #include <osmocom/mgcp_client/mgcp_client.h>
 
+#include <osmocom/sigtran/xua_msg.h>
+
 #define _GNU_SOURCE
 #include <getopt.h>
 
@@ -774,6 +776,7 @@
 
 	tall_bsc_ctx = talloc_named_const(NULL, 1, "osmo-bsc");
 	msgb_talloc_ctx_init(tall_bsc_ctx, 0);
+	osmo_xua_msg_tall_ctx_init(tall_bsc_ctx);
 	vty_info.tall_ctx = tall_bsc_ctx;
 
 	tall_paging_ctx = talloc_named_const(tall_bsc_ctx, 0, "paging_request");

-- 
To view, visit https://gerrit.osmocom.org/9955
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8d5edda17be82e0cb4a1af3e2a62cbcb3a2ddda3
Gerrit-Change-Number: 9955
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180711/24d7e16d/attachment.htm>


More information about the gerrit-log mailing list