Projects
osmocom:master
osmo-sgsn
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 33
View file
osmo-sgsn.spec
Changed
@@ -19,13 +19,13 @@ %define with_iu 1 Name: osmo-sgsn Requires: osmocom-master -Version: 1.10.0.13.f2497 +Version: 1.10.0.15.7840 Release: 0 Summary: Osmocom's SGSN for 2G and 3G packet-switched mobile networks License: AGPL-3.0-or-later AND GPL-2.0-or-later Group: Productivity/Telephony/Servers URL: https://osmocom.org/projects/osmosgsn -Source: osmo-sgsn_1.10.0.13.f2497.tar.xz +Source: osmo-sgsn_1.10.0.15.7840.tar.xz Source1: rpmlintrc BuildRequires: autoconf BuildRequires: automake
View file
commit_7840375d51c7beab426ffd30cc9d523db64ec609.txt
Added
View file
commit_f24970a7caa448503d18e5033452391193452205.txt
Deleted
View file
osmo-sgsn_1.10.0.13.f2497.dsc -> osmo-sgsn_1.10.0.15.7840.dsc
Changed
@@ -2,7 +2,7 @@ Source: osmo-sgsn Binary: osmo-sgsn, osmo-sgsn-dbg, osmo-gtphub, osmo-gtphub-dbg, osmo-sgsn-doc Architecture: any all -Version: 1.10.0.13.f2497 +Version: 1.10.0.15.7840 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/osmo-sgsn Standards-Version: 3.9.8 @@ -16,8 +16,8 @@ osmo-sgsn-dbg deb debug extra arch=any osmo-sgsn-doc deb doc optional arch=all Checksums-Sha1: - 393dad2e065e78c66ae6211d5d7b2148be32730e 231088 osmo-sgsn_1.10.0.13.f2497.tar.xz + 00b92170f29ac06480595cb7d8e96c725ed1ca22 230912 osmo-sgsn_1.10.0.15.7840.tar.xz Checksums-Sha256: - 9b6157402d76d3c19c6a10a2aa82e0989a592a53761688a49f337460dfd85f40 231088 osmo-sgsn_1.10.0.13.f2497.tar.xz + dc8b637db4c849f96ccf70f1ca4d52f955498eb376ee1cf202a945d63a67ce4a 230912 osmo-sgsn_1.10.0.15.7840.tar.xz Files: - c1363b0409b13ef377eb960ad13101ce 231088 osmo-sgsn_1.10.0.13.f2497.tar.xz + 8489442660d3aa1f2d480ad593b07409 230912 osmo-sgsn_1.10.0.15.7840.tar.xz
View file
osmo-sgsn_1.10.0.13.f2497.tar.xz/.tarball-version -> osmo-sgsn_1.10.0.15.7840.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.10.0.13-f2497 +1.10.0.15-7840
View file
osmo-sgsn_1.10.0.13.f2497.tar.xz/debian/changelog -> osmo-sgsn_1.10.0.15.7840.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-sgsn (1.10.0.13.f2497) unstable; urgency=medium +osmo-sgsn (1.10.0.15.7840) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Thu, 10 Aug 2023 08:22:35 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Fri, 11 Aug 2023 06:28:06 +0000 osmo-sgsn (1.10.0) unstable; urgency=medium
View file
osmo-sgsn_1.10.0.13.f2497.tar.xz/include/osmocom/sgsn/sgsn_rim.h -> osmo-sgsn_1.10.0.15.7840.tar.xz/include/osmocom/sgsn/sgsn_rim.h
Changed
@@ -3,4 +3,4 @@ struct sgsn_mme_ctx; int sgsn_rim_rx_from_gb(struct osmo_bssgp_prim *bp, struct msgb *msg); -int sgsn_rim_rx_from_gtp(struct bssgp_ran_information_pdu *pdu, struct sgsn_mme_ctx *mme); +int sgsn_rim_rx_from_gtp(struct bssgp_ran_information_pdu *pdu);
View file
osmo-sgsn_1.10.0.13.f2497.tar.xz/src/sgsn/sgsn_libgtp.c -> osmo-sgsn_1.10.0.15.7840.tar.xz/src/sgsn/sgsn_libgtp.c
Changed
@@ -712,7 +712,7 @@ } msgb_free(msg); - return sgsn_rim_rx_from_gtp(&pdu, mme); + return sgsn_rim_rx_from_gtp(&pdu); ret_error: msgb_free(msg);
View file
osmo-sgsn_1.10.0.13.f2497.tar.xz/src/sgsn/sgsn_rim.c -> osmo-sgsn_1.10.0.15.7840.tar.xz/src/sgsn/sgsn_rim.c
Changed
@@ -21,6 +21,7 @@ struct bssgp_bvc_ctx *bvc_ctx; OSMO_ASSERT(pdu->routing_info_dest.discr == BSSGP_RIM_ROUTING_INFO_GERAN); + /* Resolve RIM ROUTING ADDRESS to a BVC context */ bvc_ctx = btsctx_by_raid_cid(&pdu->routing_info_dest.geran.raid, pdu->routing_info_dest.geran.cid); if (!bvc_ctx) { LOGP(DRIM, LOGL_ERROR, "Unable to find NSEI for destination cell %s\n", @@ -28,7 +29,7 @@ return -EINVAL; } - /* Forward PDU as it is to the correct interface */ + /* Forward PDU to the NSEI of the resolved BVC context */ return bssgp_tx_rim(pdu, bvc_ctx->nsei); } @@ -90,35 +91,24 @@ } /* Receive a RIM PDU from GTPv1C (EUTRAN) */ -int sgsn_rim_rx_from_gtp(struct bssgp_ran_information_pdu *pdu, struct sgsn_mme_ctx *mme) +int sgsn_rim_rx_from_gtp(struct bssgp_ran_information_pdu *pdu) { - struct sgsn_mme_ctx *mme_tmp; if (pdu->routing_info_src.discr != BSSGP_RIM_ROUTING_INFO_EUTRAN) { - LOGMME(mme, DRIM, LOGL_ERROR, "Rx GTP RAN Information Relay: Expected src %s, got %s\n", - bssgp_rim_routing_info_discr_str(BSSGP_RIM_ROUTING_INFO_EUTRAN), - bssgp_rim_routing_info_discr_str(pdu->routing_info_src.discr)); + LOGP(DRIM, LOGL_ERROR, "Rx GTP RAN Information Relay: Expected src %s, got %s\n", + bssgp_rim_routing_info_discr_str(BSSGP_RIM_ROUTING_INFO_EUTRAN), + bssgp_rim_routing_info_discr_str(pdu->routing_info_src.discr)); return -EINVAL; } if (pdu->routing_info_dest.discr != BSSGP_RIM_ROUTING_INFO_GERAN) { - LOGMME(mme, DRIM, LOGL_ERROR, "Rx GTP RAN Information Relay: Expected dst %s, got %s\n", - bssgp_rim_routing_info_discr_str(BSSGP_RIM_ROUTING_INFO_GERAN), - bssgp_rim_routing_info_discr_str(pdu->routing_info_dest.discr)); - return -EINVAL; - } - - mme_tmp = sgsn_mme_ctx_by_route(sgsn, &pdu->routing_info_src.eutran.tai); - if (!mme_tmp)/* See if we have a default route configured */ - mme_tmp = sgsn_mme_ctx_by_default_route(sgsn); - if (mme != mme_tmp) { - LOGP(DRIM, LOGL_ERROR, "Rx GTP RAN Information Relay: " - "Source MME doesn't have RIM routing configured for TAI: %s\n", - bssgp_rim_ri_name(&pdu->routing_info_src)); + LOGP(DRIM, LOGL_ERROR, "Rx GTP RAN Information Relay: Expected dst %s, got %s\n", + bssgp_rim_routing_info_discr_str(BSSGP_RIM_ROUTING_INFO_GERAN), + bssgp_rim_routing_info_discr_str(pdu->routing_info_dest.discr)); return -EINVAL; } - LOGMME(mme, DRIM, LOGL_INFO, "Rx GTP RAN Information Relay for dest cell %s\n", - bssgp_rim_ri_name(&pdu->routing_info_dest)); + LOGP(DRIM, LOGL_INFO, "Rx GTP RAN Information Relay for dest cell %s\n", + bssgp_rim_ri_name(&pdu->routing_info_dest)); return sgsn_bssgp_fwd_rim_to_geran(pdu); }
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
.