Projects
osmocom:master
open5gs
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 110
View file
commit_0e0085c69f0c7bd00c93c9dc5145c75ea6cee194.txt
Added
View file
commit_ce7b60dbb52a898f51834f923e87dddc45462a39.txt
Deleted
View file
open5gs_2.5.5.90.ce7b6.dsc -> open5gs_2.5.5.91.0e00.dsc
Changed
@@ -2,7 +2,7 @@ Source: open5gs Binary: open5gs-common, open5gs-mme, open5gs-sgwc, open5gs-smf, open5gs-amf, open5gs-sgwu, open5gs-upf, open5gs-hss, open5gs-pcrf, open5gs-nrf, open5gs-scp, open5gs-ausf, open5gs-udm, open5gs-pcf, open5gs-nssf, open5gs-bsf, open5gs-udr, open5gs, open5gs-dbg Architecture: any -Version: 2.5.5.90.ce7b6 +Version: 2.5.5.91.0e00 Maintainer: Harald Welte <laforge@gnumonks.org> Uploaders: Sukchan Lee <acetcom@gmail.com> Homepage: https://open5gs.org @@ -31,8 +31,8 @@ open5gs-udr deb net optional arch=any open5gs-upf deb net optional arch=any Checksums-Sha1: - 3728e322b356c019549a3debfb053c3091aa8428 13609484 open5gs_2.5.5.90.ce7b6.tar.xz + c6b83e79c9ca7b0645d812b852cab237296ac27f 13608528 open5gs_2.5.5.91.0e00.tar.xz Checksums-Sha256: - fc55d0fb629bf1e7c4da6fa8e61a7a66db8d35f0646884d924c8ffbf0bf6a1c1 13609484 open5gs_2.5.5.90.ce7b6.tar.xz + 11edb7fdbd79057a933398866ee17226863258d7c4cf1aaae39c7435c8f97c19 13608528 open5gs_2.5.5.91.0e00.tar.xz Files: - 73977d71ffdb5901c2a2e9466943905a 13609484 open5gs_2.5.5.90.ce7b6.tar.xz + 954a4e486d856dc273b3af6afacbfaab 13608528 open5gs_2.5.5.91.0e00.tar.xz
View file
open5gs_2.5.5.90.ce7b6.tar.xz/.tarball-version -> open5gs_2.5.5.91.0e00.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -2.5.5.90-ce7b6 +2.5.5.91-0e00
View file
open5gs_2.5.5.90.ce7b6.tar.xz/debian/changelog -> open5gs_2.5.5.91.0e00.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -open5gs (2.5.5.90.ce7b6) unstable; urgency=medium +open5gs (2.5.5.91.0e00) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Wed, 18 Jan 2023 13:48:39 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Wed, 18 Jan 2023 14:39:25 +0000 open5gs (2.5.6) unstable; urgency=medium
View file
open5gs_2.5.5.90.ce7b6.tar.xz/lib/pfcp/context.c -> open5gs_2.5.5.91.0e00.tar.xz/lib/pfcp/context.c
Changed
@@ -929,6 +929,20 @@ self.object_teid_hash, &teid, sizeof(teid)); } +int ogs_pfcp_object_count_by_teid(ogs_pfcp_sess_t *sess, uint32_t teid) +{ + ogs_pfcp_pdr_t *pdr = NULL; + int count = 0; + + ogs_assert(sess); + + ogs_list_for_each(&sess->pdr_list, pdr) { + if (pdr->f_teid.teid == teid) count++; + } + + return count; +} + ogs_pfcp_pdr_t *ogs_pfcp_pdr_find_by_choose_id( ogs_pfcp_sess_t *sess, uint8_t choose_id) { @@ -997,9 +1011,21 @@ ogs_pfcp_rule_remove_all(pdr); - if (pdr->hash.teid.len) - ogs_hash_set(self.object_teid_hash, - &pdr->hash.teid.key, pdr->hash.teid.len, NULL); + if (pdr->hash.teid.len) { + /* + * Issues #2003 + * + * In 5G Core, two PDRs can use different QFIDs for the same TEID. + * So, before deleting a TEID, we should check if there is a PDR + * using the same TEID. + * + * Since this PDR has already been deleted with ogs_list_remove() above, + * if the current list has a TEID count of 0, there are no other PDRs. + */ + if (ogs_pfcp_object_count_by_teid(pdr->sess, pdr->f_teid.teid) == 0) + ogs_hash_set(self.object_teid_hash, + &pdr->hash.teid.key, pdr->hash.teid.len, NULL); + } if (pdr->dnn) ogs_free(pdr->dnn);
View file
open5gs_2.5.5.90.ce7b6.tar.xz/lib/pfcp/context.h -> open5gs_2.5.5.91.0e00.tar.xz/lib/pfcp/context.h
Changed
@@ -397,6 +397,7 @@ void ogs_pfcp_object_teid_hash_set( ogs_pfcp_object_type_e type, ogs_pfcp_pdr_t *pdr); ogs_pfcp_object_t *ogs_pfcp_object_find_by_teid(uint32_t teid); +int ogs_pfcp_object_count_by_teid(ogs_pfcp_sess_t *sess, uint32_t teid); ogs_pfcp_pdr_t *ogs_pfcp_pdr_find_by_choose_id( ogs_pfcp_sess_t *sess, uint8_t choose_id);
View file
open5gs_2.5.5.90.ce7b6.tar.xz/tests/vonr/simple-test.c -> open5gs_2.5.5.91.0e00.tar.xz/tests/vonr/simple-test.c
Changed
@@ -418,6 +418,20 @@ /* Test Bearer Remove */ test_bearer_remove(qos_flow); + /* Send GTP-U ICMP Packet */ + qos_flow = test_qos_flow_find_by_qfi(sess, 1); + ogs_assert(qos_flow); + rv = test_gtpu_send_ping(gtpu, qos_flow, TEST_PING_IPV4); + ABTS_INT_EQUAL(tc, OGS_OK, rv); + + /* Receive GTP-U ICMP Packet */ + recvbuf = testgnb_gtpu_read(gtpu); + ABTS_PTR_NOTNULL(tc, recvbuf); + ogs_pkbuf_free(recvbuf); + + /* Wait for PDU session resource modify complete */ + ogs_msleep(100); + /* Send UEContextReleaseRequest */ sendbuf = testngap_build_ue_context_release_request(test_ue, NGAP_Cause_PR_radioNetwork, NGAP_CauseRadioNetwork_user_inactivity,
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
.