Projects
osmocom:nightly
osmo-hnbgw
Log In
Username
Password
Error getting diff: tar:
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 721
View file
osmo-hnbgw_1.5.0.74.62da.202406102026.dsc -> osmo-hnbgw_1.5.0.76.3da9.202406112026.dsc
Changed
@@ -2,7 +2,7 @@ Source: osmo-hnbgw Binary: osmo-hnbgw, osmo-hnbgw-dbg, osmo-hnbgw-doc Architecture: any all -Version: 1.5.0.74.62da.202406102026 +Version: 1.5.0.76.3da9.202406112026 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/osmo-hnbgw Standards-Version: 3.9.8 @@ -14,8 +14,8 @@ osmo-hnbgw-dbg deb debug extra arch=any osmo-hnbgw-doc deb doc optional arch=all Checksums-Sha1: - 525eaad340f0eb2033e736dd54bec54cda8d8602 118540 osmo-hnbgw_1.5.0.74.62da.202406102026.tar.xz + 1c2232d239043a3f86b12133d360de0966dbae25 118700 osmo-hnbgw_1.5.0.76.3da9.202406112026.tar.xz Checksums-Sha256: - 236027525bc0f5a51aa615a61f443d8faa4763ec51adb3131a74d284f31278f0 118540 osmo-hnbgw_1.5.0.74.62da.202406102026.tar.xz + 08dc8bd292e2c13b07164e1a42804b58a393403c12373c131160ad5e594714c2 118700 osmo-hnbgw_1.5.0.76.3da9.202406112026.tar.xz Files: - 6d65f4e9cdeb491f663f45065dc6d010 118540 osmo-hnbgw_1.5.0.74.62da.202406102026.tar.xz + 22926e1cd4d744f5b65ace4a7799ff08 118700 osmo-hnbgw_1.5.0.76.3da9.202406112026.tar.xz
View file
osmo-hnbgw_1.5.0.74.62da.202406102026.tar.xz/.tarball-version -> osmo-hnbgw_1.5.0.76.3da9.202406112026.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.5.0.74-62da.202406102026 +1.5.0.76-3da9.202406112026
View file
osmo-hnbgw_1.5.0.74.62da.202406102026.tar.xz/debian/changelog -> osmo-hnbgw_1.5.0.76.3da9.202406112026.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-hnbgw (1.5.0.74.62da.202406102026) unstable; urgency=medium +osmo-hnbgw (1.5.0.76.3da9.202406112026) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Mon, 10 Jun 2024 20:26:48 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Tue, 11 Jun 2024 20:26:47 +0000 osmo-hnbgw (1.5.0) unstable; urgency=medium
View file
osmo-hnbgw_1.5.0.74.62da.202406102026.tar.xz/debian/control -> osmo-hnbgw_1.5.0.76.3da9.202406112026.tar.xz/debian/control
Changed
@@ -32,7 +32,7 @@ Package: osmo-hnbgw Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202406102026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202406112026), ${misc:Depends}, ${shlibs:Depends} Recommends: osmo-mgw Description: OsmoHNBGW: Osmocom Home Node B Gateway @@ -40,14 +40,14 @@ Section: debug Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 202406102026), osmo-hnbgw (= ${binary:Version}), ${misc:Depends} +Depends: osmocom-nightly (= 202406112026), 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 (= 202406102026), ${misc:Depends} +Depends: osmocom-nightly (= 202406112026), ${misc:Depends} Description: ${misc:Package} PDF documentation Various manuals: user manual, VTY reference manual and/or protocol/interface manuals.
View file
osmo-hnbgw_1.5.0.74.62da.202406102026.tar.xz/src/osmo-hnbgw/context_map_rua.c -> osmo-hnbgw_1.5.0.76.3da9.202406112026.tar.xz/src/osmo-hnbgw/context_map_rua.c
Changed
@@ -158,6 +158,11 @@ static int handle_rx_rua(struct osmo_fsm_inst *fi, struct msgb *ranap_msg) { struct hnbgw_context_map *map = fi->priv; + + /* If the FSM instance has already terminated, don't dispatch anything. */ + if (fi->proc.terminating) + return 0; + if (!msg_has_l2_data(ranap_msg)) return 0;
View file
osmo-hnbgw_1.5.0.74.62da.202406102026.tar.xz/src/osmo-hnbgw/context_map_sccp.c -> osmo-hnbgw_1.5.0.76.3da9.202406112026.tar.xz/src/osmo-hnbgw/context_map_sccp.c
Changed
@@ -198,6 +198,10 @@ struct hnbgw_context_map *map = fi->priv; int rc; + /* If the FSM instance has already terminated, don't dispatch anything. */ + if (fi->proc.terminating) + return 0; + /* When there was no message received along with the received event, then there is nothing to forward to RUA. */ if (!msg_has_l2_data(ranap_msg)) return 0;
View file
osmo-hnbgw_1.5.0.74.62da.202406102026.tar.xz/src/osmo-hnbgw/hnbgw.c -> osmo-hnbgw_1.5.0.76.3da9.202406112026.tar.xz/src/osmo-hnbgw/hnbgw.c
Changed
@@ -155,8 +155,7 @@ struct ue_context *ue; ue = talloc_zero(g_hnbgw, struct ue_context); - if (!ue) - return NULL; + OSMO_ASSERT(ue); ue->hnb = hnb; if (imsi)
View file
osmo-hnbgw_1.5.0.74.62da.202406102026.tar.xz/src/osmo-hnbgw/hnbgw_hnbap.c -> osmo-hnbgw_1.5.0.76.3da9.202406112026.tar.xz/src/osmo-hnbgw/hnbgw_hnbap.c
Changed
@@ -194,6 +194,9 @@ rc = hnbap_encode_ueregisteraccepties(&accept_out, &accept); ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_OCTET_STRING, &accept.uE_Identity.choice.iMSI); if (rc < 0) { + LOGHNB(ue->hnb, DHNBAP, LOGL_ERROR, + "Failed to encode HNBAP UE Register Accept message for UE IMSI-%s TMSI-0x%08x\n", + ue->imsi, ue->tmsi); return rc; } @@ -204,7 +207,12 @@ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_UERegisterAccept, &accept_out); - return hnbgw_hnbap_tx(ue->hnb, msg); + rc = hnbgw_hnbap_tx(ue->hnb, msg); + if (rc) + LOGHNB(ue->hnb, DHNBAP, LOGL_ERROR, + "Failed to enqueue HNBAP UE Register Accept message for UE IMSI-%s TMSI-0x%08x\n", + ue->imsi, ue->tmsi); + return rc; } static int hnbgw_tx_ue_register_rej(struct hnb_context *hnb, HNBAP_UE_Identity_t *ue_id, const struct HNBAP_Cause *cause) @@ -426,6 +434,7 @@ } if (rc < 0) { + LOGHNB(hnb, DHNBAP, LOGL_ERROR, "Failed to encode HNBAP UE Register Accept for TMSI 0x%08x\n", tmsi); /* 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. */ @@ -441,6 +450,8 @@ &accept_out); rc = hnbgw_hnbap_tx(hnb, msg); ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_HNBAP_UERegisterAccept, &accept_out); + if (rc) + LOGHNB(hnb, DHNBAP, LOGL_ERROR, "Failed to transmit HNBAP UE Register Accept for TMSI 0x%08x\n", tmsi); return rc; } @@ -642,14 +653,19 @@ ue = ue_context_by_imsi(imsi); if (!ue) ue = ue_allocated = ue_context_alloc(ctx, imsi, 0); + else + LOGHNB(ctx, DHNBAP, LOGL_DEBUG, "UE context for IMSI %s already exists\n", imsi); /* Send UERegisterAccept */ rc = hnbgw_tx_ue_register_acc(ue); if (rc < 0) { + LOGHNB(ctx, DHNBAP, LOGL_ERROR, "Failed to transmit HNBAP UE Register Accept for IMSI %s\n", imsi); /* 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) + if (ue_allocated) { ue_context_free(ue_allocated); + LOGHNB(ctx, DHNBAP, LOGL_INFO, "Freed UE context for IMSI %s\n", imsi); + } } free_and_return_rc: hnbap_free_ueregisterrequesties(&ies);
View file
osmo-hnbgw_1.5.0.74.62da.202406102026.tar.xz/src/osmo-hnbgw/osmo_hnbgw_main.c -> osmo-hnbgw_1.5.0.76.3da9.202406112026.tar.xz/src/osmo-hnbgw/osmo_hnbgw_main.c
Changed
@@ -360,6 +360,8 @@ signal(SIGUSR2, &signal_handler); osmo_init_ignore_signals(); + osmo_fsm_set_dealloc_ctx(OTC_SELECT); + while (1) { rc = osmo_select_main_ctx(0); if (rc < 0)
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
.