Projects
osmocom:nightly
osmo-hnbgw
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 309
View file
osmo-hnbgw.spec
Changed
@@ -17,14 +17,14 @@ %define _lto_cflags %{nil} Name: osmo-hnbgw -Requires: osmocom-nightly = 202304270026 -Version: 1.4.0.32.8fd4.202304270026 +Requires: osmocom-nightly = 202304280026 +Version: 1.4.0.40.3f92.202304280026 Release: 0 Summary: OsmoHNBGW: Osmocom's Base Station Controller for 2G CS mobile networks License: AGPL-3.0-or-later AND GPL-2.0-or-later Group: Hardware/Mobile URL: https://osmocom.org/projects/osmohnbgw -Source: osmo-hnbgw_1.4.0.32.8fd4.202304270026.tar.xz +Source: osmo-hnbgw_1.4.0.40.3f92.202304280026.tar.xz Source1: rpmlintrc BuildRequires: automake >= 1.9 BuildRequires: libtool >= 2
View file
osmo-hnbgw_1.4.0.32.8fd4.202304270026.dsc -> osmo-hnbgw_1.4.0.40.3f92.202304280026.dsc
Changed
@@ -2,20 +2,20 @@ Source: osmo-hnbgw Binary: osmo-hnbgw, osmo-hnbgw-dbg, osmo-hnbgw-doc Architecture: any all -Version: 1.4.0.32.8fd4.202304270026 +Version: 1.4.0.40.3f92.202304280026 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/osmo-hnbgw Standards-Version: 3.9.8 Vcs-Browser: https://gitea.osmocom.org/cellular-infrastructure/osmo-hnbgw Vcs-Git: https://gitea.osmocom.org/cellular-infrastructure/osmo-hnbgw -Build-Depends: debhelper (>= 9), dh-autoreconf, autotools-dev, autoconf, automake, libtool, pkg-config, python3-minimal, libtalloc-dev, libasn1c-dev (>= 0.9.30), libsctp-dev, libosmocore-dev (>= 1.8.0), libosmo-sigtran-dev (>= 1.7.0), libosmo-abis-dev (>= 1.4.0), libosmo-netif-dev (>= 1.3.0), libosmo-mgcp-client-dev (>= 1.11.0), libosmo-hnbap-dev (>= 1.4.0), libosmo-ranap-dev (>= 1.4.0), libosmo-rua-dev (>= 1.4.0), libosmo-pfcp-dev (>= 0.2.0), osmo-gsm-manuals-dev (>= 1.4.0) +Build-Depends: debhelper (>= 10), dh-autoreconf, autotools-dev, autoconf, automake, libtool, pkg-config, python3-minimal, libtalloc-dev, libasn1c-dev (>= 0.9.30), libsctp-dev, libosmocore-dev (>= 1.8.0), libosmo-sigtran-dev (>= 1.7.0), libosmo-abis-dev (>= 1.4.0), libosmo-netif-dev (>= 1.3.0), libosmo-mgcp-client-dev (>= 1.11.0), libosmo-hnbap-dev (>= 1.4.0), libosmo-ranap-dev (>= 1.4.0), libosmo-rua-dev (>= 1.4.0), libosmo-pfcp-dev (>= 0.2.0), osmo-gsm-manuals-dev (>= 1.4.0) Package-List: osmo-hnbgw deb net extra arch=any osmo-hnbgw-dbg deb debug extra arch=any osmo-hnbgw-doc deb doc optional arch=all Checksums-Sha1: - d9533278984899a23708575cbad39a8c0072f004 80260 osmo-hnbgw_1.4.0.32.8fd4.202304270026.tar.xz + 84ed78c7d7e213b27f963a2a8e9b8cc6b8245e9a 80396 osmo-hnbgw_1.4.0.40.3f92.202304280026.tar.xz Checksums-Sha256: - 3c8345bd803b58c25d2c8f6769075f6664d2c3e59fdc31e87fa0f1f847a0730e 80260 osmo-hnbgw_1.4.0.32.8fd4.202304270026.tar.xz + ac351ef8363d27b3e32fa057c21d2d651d7bc9052aa9577c334dbd286fe0fbeb 80396 osmo-hnbgw_1.4.0.40.3f92.202304280026.tar.xz Files: - 71b07b24c6e1a2cc1d78fd12e8a7353b 80260 osmo-hnbgw_1.4.0.32.8fd4.202304270026.tar.xz + 86330d991e2133b91384e71adf99c73d 80396 osmo-hnbgw_1.4.0.40.3f92.202304280026.tar.xz
View file
osmo-hnbgw_1.4.0.32.8fd4.202304270026.tar.xz/.tarball-version -> osmo-hnbgw_1.4.0.40.3f92.202304280026.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.4.0.32-8fd4.202304270026 +1.4.0.40-3f92.202304280026
View file
osmo-hnbgw_1.4.0.32.8fd4.202304270026.tar.xz/contrib/osmo-hnbgw.spec.in -> osmo-hnbgw_1.4.0.40.3f92.202304280026.tar.xz/contrib/osmo-hnbgw.spec.in
Changed
@@ -17,7 +17,7 @@ %define _lto_cflags %{nil} Name: osmo-hnbgw -Requires: osmocom-nightly = 202304270026 +Requires: osmocom-nightly = 202304280026 Version: @VERSION@ Release: 0 Summary: OsmoHNBGW: Osmocom's Base Station Controller for 2G CS mobile networks
View file
osmo-hnbgw_1.4.0.32.8fd4.202304270026.tar.xz/debian/changelog -> osmo-hnbgw_1.4.0.40.3f92.202304280026.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-hnbgw (1.4.0.32.8fd4.202304270026) unstable; urgency=medium +osmo-hnbgw (1.4.0.40.3f92.202304280026) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Thu, 27 Apr 2023 00:26:43 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Fri, 28 Apr 2023 00:26:40 +0000 osmo-hnbgw (1.4.0) unstable; urgency=medium
View file
osmo-hnbgw_1.4.0.32.8fd4.202304270026.tar.xz/debian/compat -> osmo-hnbgw_1.4.0.40.3f92.202304280026.tar.xz/debian/compat
Changed
@@ -1 +1 @@ -9 +10
View file
osmo-hnbgw_1.4.0.32.8fd4.202304270026.tar.xz/debian/control -> osmo-hnbgw_1.4.0.40.3f92.202304280026.tar.xz/debian/control
Changed
@@ -2,7 +2,7 @@ Section: net Priority: extra Maintainer: Osmocom team <openbsc@lists.osmocom.org> -Build-Depends: debhelper (>=9), +Build-Depends: debhelper (>= 10), dh-autoreconf, autotools-dev, autoconf, @@ -31,7 +31,7 @@ Package: osmo-hnbgw Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202304270026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202304280026), ${misc:Depends}, ${shlibs:Depends} Recommends: osmo-mgw Description: OsmoHNBGW: Osmocom Home Node B Gateway @@ -39,14 +39,14 @@ Section: debug Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 202304270026), osmo-hnbgw (= ${binary:Version}), ${misc:Depends} +Depends: osmocom-nightly (= 202304280026), osmo-hnbgw (= ${binary:Version}), ${misc:Depends} Description: OsmoHNBGW: Osmocom Home Node B Gateway Package: osmo-hnbgw-doc Architecture: all Section: doc Priority: optional -Depends: osmocom-nightly (= 202304270026), ${misc:Depends} +Depends: osmocom-nightly (= 202304280026), ${misc:Depends} Description: ${misc:Package} PDF documentation Various manuals: user manual, VTY reference manual and/or protocol/interface manuals.
View file
osmo-hnbgw_1.4.0.32.8fd4.202304270026.tar.xz/src/osmo-hnbgw/hnbgw.c -> osmo-hnbgw_1.4.0.40.3f92.202304280026.tar.xz/src/osmo-hnbgw/hnbgw.c
Changed
@@ -729,8 +729,10 @@ struct osmo_stream_srv_link *srv; int rc; + talloc_enable_null_tracking(); + tall_hnb_ctx = talloc_named_const(NULL, 0, "hnb_context"); - talloc_asn1_ctx = talloc_named_const(NULL, 1, "asn1_context"); + talloc_asn1_ctx = talloc_named_const(tall_hnb_ctx, 1, "asn1_context"); msgb_talloc_ctx_init(tall_hnb_ctx, 0); g_hnb_gw = hnb_gw_create(tall_hnb_ctx);
View file
osmo-hnbgw_1.4.0.32.8fd4.202304270026.tar.xz/src/osmo-hnbgw/hnbgw_cn.c -> osmo-hnbgw_1.4.0.40.3f92.202304280026.tar.xz/src/osmo-hnbgw/hnbgw_cn.c
Changed
@@ -276,6 +276,7 @@ } rc = _cn_ranap_rx(cnlink, unitdata, pdu, data, len); + ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_RANAP_RANAP_PDU, pdu); return rc; }
View file
osmo-hnbgw_1.4.0.32.8fd4.202304270026.tar.xz/src/osmo-hnbgw/hnbgw_hnbap.c -> osmo-hnbgw_1.4.0.40.3f92.202304280026.tar.xz/src/osmo-hnbgw/hnbgw_hnbap.c
Changed
@@ -146,6 +146,7 @@ memset(&accept_out, 0, sizeof(accept_out)); rc = hnbap_encode_ueregisteraccepties(&accept_out, &accept); + ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_OCTET_STRING, &accept.uE_Identity.choice.iMSI); if (rc < 0) { return rc; } @@ -155,7 +156,6 @@ &asn_DEF_HNBAP_UERegisterAccept, &accept_out); - ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_OCTET_STRING, &accept.uE_Identity.choice.iMSI); ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_UERegisterAccept, &accept_out); return hnbgw_hnbap_tx(ue->hnb, msg); @@ -338,19 +338,8 @@ memset(&accept_out, 0, sizeof(accept_out)); rc = hnbap_encode_ueregisteraccepties(&accept_out, &accept); - if (rc < 0) { - /* If we allocated the UE context but the UE REGISTER fails, get rid of it again: there will likely - * never be a UE DE-REGISTER for this UE from the HNB, and the ue_context would linger forever. */ - if (ue_allocated) - ue_context_free(ue_allocated); - return rc; - } - - msg = hnbap_generate_successful_outcome(HNBAP_ProcedureCode_id_UERegister, - HNBAP_Criticality_reject, - &asn_DEF_HNBAP_UERegisterAccept, - &accept_out); + /* free 'accept', now encoded in 'accept_out' */ switch (ue_id->present) { case HNBAP_UE_Identity_PR_tMSILAI: ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_BIT_STRING, @@ -377,9 +366,23 @@ break; } - ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_UERegisterAccept, &accept_out); + if (rc < 0) { + /* Encoding failed. Nothing in 'accept_out'. */ + /* If we allocated the UE context but the UE REGISTER fails, get rid of it again: there will likely + * never be a UE DE-REGISTER for this UE from the HNB, and the ue_context would linger forever. */ + if (ue_allocated) + ue_context_free(ue_allocated); + return rc; + } - return hnbgw_hnbap_tx(hnb, msg); + /* Encoding successful, transmit, then free 'accept_out'. */ + msg = hnbap_generate_successful_outcome(HNBAP_ProcedureCode_id_UERegister, + HNBAP_Criticality_reject, + &asn_DEF_HNBAP_UERegisterAccept, + &accept_out); + rc = hnbgw_hnbap_tx(hnb, msg); + ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_UERegisterAccept, &accept_out); + return rc; } static int hnbgw_rx_hnb_deregister(struct hnb_context *ctx, ANY_t *in)
View file
osmo-hnbgw_1.4.0.32.8fd4.202304270026.tar.xz/src/osmo-hnbgw/hnbgw_rua.c -> osmo-hnbgw_1.4.0.40.3f92.202304280026.tar.xz/src/osmo-hnbgw/hnbgw_rua.c
Changed
@@ -536,6 +536,8 @@ rc = _hnbgw_rua_rx(msg, pdu); + ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_RUA_RUA_PDU, pdu); + return rc; }
View file
osmo-hnbgw_1.4.0.32.8fd4.202304270026.tar.xz/src/osmo-hnbgw/ps_rab_ass_fsm.c -> osmo-hnbgw_1.4.0.40.3f92.202304280026.tar.xz/src/osmo-hnbgw/ps_rab_ass_fsm.c
Changed
@@ -569,6 +569,8 @@ /* Reencode this list item in the RANAP message */ rc = ANY_fromType_aper(&list_ie->value, &asn_DEF_RANAP_RAB_SetupOrModifiedItem, rab_item); + ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_BIT_STRING, &rab_item->transportLayerAddress); + ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_OCTET_STRING, &rab_item->iuTransportAssociation->choice.gTP_TEI); if (rc < 0) { ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_RANAP_RAB_SetupOrModifiedItem, &item_ies); LOG_PS_RAB_ASS(rab_ass, LOGL_ERROR, "Re-encoding RANAP PS RAB-AssignmentResponse failed\n");
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.