Change in osmo-bts[master]: oml: assign unique names to 'struct tlv_parsed' chunks

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

fixeria gerrit-no-reply at lists.osmocom.org
Mon Dec 13 12:07:16 UTC 2021


fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/26528 )

Change subject: oml: assign unique names to 'struct tlv_parsed' chunks
......................................................................

oml: assign unique names to 'struct tlv_parsed' chunks

Change-Id: Ie248d2a65a11da914324a7e65b767b894ed8644a
---
M src/common/oml.c
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/src/common/oml.c b/src/common/oml.c
index c8819c9..724e4f8 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -580,6 +580,7 @@
 
 	/* merge existing BTS attributes with new attributes */
 	tp_merged = osmo_tlvp_copy(bts->mo.nm_attr, bts);
+	talloc_set_name_const(tp_merged, "oml_bts_attr");
 	osmo_tlvp_merge(tp_merged, &tp);
 
 	/* Ask BTS driver to validate new merged attributes */
@@ -737,6 +738,7 @@
 
 	/* merge existing TRX attributes with new attributes */
 	tp_merged = osmo_tlvp_copy(trx->mo.nm_attr, trx);
+	talloc_set_name_const(tp_merged, "oml_trx_attr");
 	osmo_tlvp_merge(tp_merged, &tp);
 
 	/* Ask BTS driver to validate new merged attributes */
@@ -951,6 +953,7 @@
 
 	/* merge existing CHAN attributes with new attributes */
 	tp_merged = osmo_tlvp_copy(ts->mo.nm_attr, ts->trx);
+	talloc_set_name_const(tp_merged, "oml_chan_attr");
 	osmo_tlvp_merge(tp_merged, &tp);
 
 	/* Call into BTS driver to check attribute values */
@@ -1395,6 +1398,7 @@
 		/* Success: replace old MO attributes with new */
 		/* merge existing MO attributes with new attributes */
 		tp_merged = osmo_tlvp_copy(mo->nm_attr, bts);
+		talloc_set_name_const(tp_merged, "oml_ipa_attr");
 		osmo_tlvp_merge(tp_merged, &tp);
 		talloc_free(mo->nm_attr);
 		mo->nm_attr = tp_merged;

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ie248d2a65a11da914324a7e65b767b894ed8644a
Gerrit-Change-Number: 26528
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211213/13cb9e0f/attachment.htm>


More information about the gerrit-log mailing list