Projects
osmocom:master
open5gs
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 238
View file
commit_93012c4512d8c5570674d67dcd5692b9c68d1896.txt
Added
View file
commit_93bcd7fda7c3754ae96ff8d6eec22568964babc4.txt
Deleted
View file
open5gs_2.6.4.22.93bcd.dsc -> open5gs_2.6.4.25.93012.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.6.4.22.93bcd +Version: 2.6.4.25.93012 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: - 68c673a7e59bc5827c6aa89dcd9a6934d18fd152 14124456 open5gs_2.6.4.22.93bcd.tar.xz + c73f7507665919c01c57c4984bdc3b48bdde5607 14123740 open5gs_2.6.4.25.93012.tar.xz Checksums-Sha256: - d6c509ca3455e524254cd8a6dc063070c6e9e8d247e609496f5d1ab9e5096e7f 14124456 open5gs_2.6.4.22.93bcd.tar.xz + 0ec6c2c74997768c79a9e63bd8e85440511d35c1f543aa530aeb031cf78066b4 14123740 open5gs_2.6.4.25.93012.tar.xz Files: - cf378d11a278aecd16b5c39cb5876ce5 14124456 open5gs_2.6.4.22.93bcd.tar.xz + fee9a862ec6bc760de871f1ccf65fbde 14123740 open5gs_2.6.4.25.93012.tar.xz
View file
open5gs_2.6.4.22.93bcd.tar.xz/.tarball-version -> open5gs_2.6.4.25.93012.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -2.6.4.22-93bcd +2.6.4.25-93012
View file
open5gs_2.6.4.22.93bcd.tar.xz/debian/changelog -> open5gs_2.6.4.25.93012.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -open5gs (2.6.4.22.93bcd) unstable; urgency=medium +open5gs (2.6.4.25.93012) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Thu, 15 Jun 2023 09:52:14 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Wed, 21 Jun 2023 13:48:40 +0000 open5gs (2.6.4) unstable; urgency=medium
View file
open5gs_2.6.4.22.93bcd.tar.xz/docs/_pages/docs.md -> open5gs_2.6.4.25.93012.tar.xz/docs/_pages/docs.md
Changed
@@ -63,3 +63,4 @@ - SCP Indirect communication Model C(https://github.com/s5uishida/open5gs_5gc_ueransim_scp_model_c_sample_config) - Monitoring Metrics with Prometheus(https://github.com/s5uishida/open5gs_5gc_ueransim_metrics_sample_config) - Frame Routing(https://github.com/s5uishida/open5gs_5gc_ueransim_framed_routing_sample_config) + - VPP-UPF with DPDK(https://github.com/s5uishida/open5gs_5gc_ueransim_vpp_upf_dpdk_sample_config)
View file
open5gs_2.6.4.22.93bcd.tar.xz/src/smf/context.c -> open5gs_2.6.4.25.93012.tar.xz/src/smf/context.c
Changed
@@ -1490,6 +1490,8 @@ if (sess) { ogs_warn("OLD Session Will Release SUPI:%s,PDU Session identity:%d", SmContextCreateData->supi, SmContextCreateData->pdu_session_id); + smf_metrics_inst_by_slice_add(&sess->plmn_id, &sess->s_nssai, + SMF_METR_GAUGE_SM_SESSIONNBR, -1); smf_sess_remove(sess); }
View file
open5gs_2.6.4.22.93bcd.tar.xz/src/smf/gx-path.c -> open5gs_2.6.4.25.93012.tar.xz/src/smf/gx-path.c
Changed
@@ -28,9 +28,12 @@ os0_t peer_host; /* Peer Host */ -#define MAX_CC_REQUEST_NUMBER 64 +#define NUM_CC_REQUEST_SLOT 4 smf_sess_t *sess; - ogs_gtp_xact_t *xactMAX_CC_REQUEST_NUMBER; + struct { + uint32_t cc_req_no; + ogs_gtp_xact_t *ptr; + } xact_dataNUM_CC_REQUEST_SLOT; uint32_t cc_request_type; uint32_t cc_request_number; @@ -103,6 +106,7 @@ struct sockaddr_in sin; struct sockaddr_in6 sin6; uint32_t charging_id; + uint32_t req_slot; ogs_assert(sess); @@ -191,11 +195,12 @@ ogs_debug(" CC Request Type%d Number%d", sess_data->cc_request_type, sess_data->cc_request_number); - ogs_assert(sess_data->cc_request_number <= MAX_CC_REQUEST_NUMBER); /* Update session state */ sess_data->sess = sess; - sess_data->xactsess_data->cc_request_number = xact; + req_slot = sess_data->cc_request_number % NUM_CC_REQUEST_SLOT; + sess_data->xact_datareq_slot.ptr = xact; + sess_data->xact_datareq_slot.cc_req_no = sess_data->cc_request_number; /* Set Origin-Host & Origin-Realm */ ret = fd_msg_add_origin(req, 0); @@ -713,7 +718,7 @@ ogs_gtp_xact_t *xact = NULL; smf_sess_t *sess = NULL; ogs_diam_gx_message_t *gx_message = NULL; - uint32_t cc_request_number = 0; + uint32_t req_slot, cc_request_number = 0; ogs_debug("Credit-Control-Answer"); @@ -755,11 +760,13 @@ ret = fd_msg_avp_hdr(avp, &hdr); ogs_assert(ret == 0); cc_request_number = hdr->avp_value->i32; + req_slot = cc_request_number % NUM_CC_REQUEST_SLOT; ogs_debug(" CC-Request-Number%d", cc_request_number); - xact = sess_data->xactcc_request_number; + xact = sess_data->xact_datareq_slot.ptr; sess = sess_data->sess; + ogs_assert(sess_data->xact_datareq_slot.cc_req_no == cc_request_number); ogs_assert(sess); gx_message = ogs_calloc(1, sizeof(ogs_diam_gx_message_t));
View file
open5gs_2.6.4.22.93bcd.tar.xz/src/smf/gy-path.c -> open5gs_2.6.4.25.93012.tar.xz/src/smf/gy-path.c
Changed
@@ -29,12 +29,14 @@ os0_t peer_host; /* Peer Host */ -#define MAX_CC_REQUEST_NUMBER 64 +#define NUM_CC_REQUEST_SLOT 4 + smf_sess_t *sess; struct { + uint32_t cc_req_no; bool pfcp; void *ptr; /* INITIAL: ogs_gtp_xact_t, UPDATE: ogs_pfcp_xact_t */ - } xact_dataMAX_CC_REQUEST_NUMBER; + } xact_dataNUM_CC_REQUEST_SLOT; uint32_t cc_request_type; uint32_t cc_request_number; @@ -567,7 +569,7 @@ struct session *session = NULL; int new; const char *service_context_id = "32251@3gpp.org"; - uint32_t timestamp; + uint32_t timestamp, req_slot; ogs_assert(xact); ogs_assert(sess); @@ -657,15 +659,16 @@ ogs_debug(" CC Request Type%d Number%d", sess_data->cc_request_type, sess_data->cc_request_number); - ogs_assert(sess_data->cc_request_number <= MAX_CC_REQUEST_NUMBER); /* Update session state */ sess_data->sess = sess; + req_slot = sess_data->cc_request_number % NUM_CC_REQUEST_SLOT; if (cc_request_type == OGS_DIAM_GY_CC_REQUEST_TYPE_UPDATE_REQUEST) - sess_data->xact_datasess_data->cc_request_number.pfcp = true; + sess_data->xact_datareq_slot.pfcp = true; else - sess_data->xact_datasess_data->cc_request_number.pfcp = false; - sess_data->xact_datasess_data->cc_request_number.ptr = xact; + sess_data->xact_datareq_slot.pfcp = false; + sess_data->xact_datareq_slot.cc_req_no = sess_data->cc_request_number; + sess_data->xact_datareq_slot.ptr = xact; /* Origin-Host & Origin-Realm */ ret = fd_msg_add_origin(req, 0); @@ -902,7 +905,7 @@ void *xact = NULL; smf_sess_t *sess = NULL; ogs_diam_gy_message_t *gy_message = NULL; - uint32_t cc_request_number = 0; + uint32_t req_slot, cc_request_number = 0; ogs_debug("GyCredit-Control-Answer"); @@ -944,11 +947,12 @@ ret = fd_msg_avp_hdr(avp, &hdr); ogs_assert(ret == 0); cc_request_number = hdr->avp_value->i32; + req_slot = cc_request_number % NUM_CC_REQUEST_SLOT; ogs_debug(" CC-Request-Number%d", cc_request_number); - xact = sess_data->xact_datacc_request_number.ptr; - ogs_assert(xact); + xact = sess_data->xact_datareq_slot.ptr; + ogs_assert(sess_data->xact_datareq_slot.cc_req_no == cc_request_number); sess = sess_data->sess; ogs_assert(sess); @@ -1106,10 +1110,10 @@ e->sess = sess; e->gy_message = gy_message; if (gy_message->cc_request_type == OGS_DIAM_GY_CC_REQUEST_TYPE_UPDATE_REQUEST) { - ogs_assert(sess_data->xact_datasess_data->cc_request_number.pfcp == true); + ogs_assert(sess_data->xact_datareq_slot.pfcp == true); e->pfcp_xact = xact; } else { - ogs_assert(sess_data->xact_datasess_data->cc_request_number.pfcp == false); + ogs_assert(sess_data->xact_datareq_slot.pfcp == false); e->gtp_xact = xact; } rv = ogs_queue_push(ogs_app()->queue, e);
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
.