Changes of Revision 217

commit_1f078cb3c6b539ee8cf3b82fb6297af6826358fc.txt Deleted
commit_4265b2a2bca66f8618573805751c3d9d8f8816a8.txt Added
open5gs_2.6.3.3.1f07.dsc -> open5gs_2.6.3.4.4265.dsc Changed
x
 
1
@@ -2,7 +2,7 @@
2
 Source: open5gs
3
 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
4
 Architecture: any
5
-Version: 2.6.3.3.1f07
6
+Version: 2.6.3.4.4265
7
 Maintainer: Harald Welte <laforge@gnumonks.org>
8
 Uploaders: Sukchan Lee <acetcom@gmail.com>
9
 Homepage: https://open5gs.org
10
@@ -31,8 +31,8 @@
11
  open5gs-udr deb net optional arch=any
12
  open5gs-upf deb net optional arch=any
13
 Checksums-Sha1:
14
- 00f016b8bda834a10f512aba33518409991d1b70 14118876 open5gs_2.6.3.3.1f07.tar.xz
15
+ 25d3b7d887933197ecb5ddcbd02eaa6328682066 14118576 open5gs_2.6.3.4.4265.tar.xz
16
 Checksums-Sha256:
17
- c49b07bfc4f2bcae1b4c4e2584fa02e688c6b1a3e4e4f96f1ccb93d7875d7689 14118876 open5gs_2.6.3.3.1f07.tar.xz
18
+ 4e12856f0787785f530cdf91b847252ff43a246b1d5845183570c4baf7572f17 14118576 open5gs_2.6.3.4.4265.tar.xz
19
 Files:
20
- 06fc5c1814b06bb849531f451302de33 14118876 open5gs_2.6.3.3.1f07.tar.xz
21
+ c4f9b787fab8475776fd0b34f61cfa1f 14118576 open5gs_2.6.3.4.4265.tar.xz
22
open5gs_2.6.3.3.1f07.tar.xz/.tarball-version -> open5gs_2.6.3.4.4265.tar.xz/.tarball-version Changed
4
 
1
@@ -1 +1 @@
2
-2.6.3.3-1f07
3
+2.6.3.4-4265
4
open5gs_2.6.3.3.1f07.tar.xz/debian/changelog -> open5gs_2.6.3.4.4265.tar.xz/debian/changelog Changed
12
 
1
@@ -1,8 +1,8 @@
2
-open5gs (2.6.3.3.1f07) unstable; urgency=medium
3
+open5gs (2.6.3.4.4265) unstable; urgency=medium
4
 
5
   * Automatically generated changelog entry for building the Osmocom master feed
6
 
7
- -- Osmocom OBS scripts <info@osmocom.org>  Fri, 05 May 2023 08:33:00 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org>  Fri, 05 May 2023 09:08:14 +0000
9
 
10
 open5gs (2.6.3) unstable; urgency=medium
11
 
12
open5gs_2.6.3.3.1f07.tar.xz/src/mme/mme-context.c -> open5gs_2.6.3.4.4265.tar.xz/src/mme/mme-context.c Changed
26
 
1
@@ -3596,8 +3596,9 @@
2
     pti = message->esm.h.procedure_transaction_identity;
3
     ebi = message->esm.h.eps_bearer_identity;
4
 
5
-    ogs_debug("mme_bearer_find_or_add_by_message() PTI:%d, EBI:%d",
6
-            pti, ebi);
7
+    ogs_debug("mme_bearer_find_or_add_by_message() : "
8
+            "ESM message type:%d, PTI:%d, EBI:%d",
9
+            message->esm.h.message_type, pti, ebi);
10
 
11
     if (ebi != OGS_NAS_EPS_BEARER_IDENTITY_UNASSIGNED) {
12
         bearer = mme_bearer_find_by_ue_ebi(mme_ue, ebi);
13
@@ -3736,7 +3737,11 @@
14
     }
15
 
16
     bearer = mme_default_bearer_in_sess(sess);
17
-    ogs_assert(bearer);
18
+    if (!bearer) {
19
+        ogs_error("No Bearer(%d) : ESM message type:%d, PTI:%d, EBI:%d",
20
+                mme_sess_count(mme_ue), message->esm.h.message_type, pti, ebi);
21
+        ogs_assert_if_reached();
22
+    }
23
 
24
     return bearer;
25
 }
26
open5gs_2.6.3.3.1f07.tar.xz/src/mme/mme-context.h -> open5gs_2.6.3.4.4265.tar.xz/src/mme/mme-context.h Changed
22
 
1
@@ -619,6 +619,20 @@
2
         ((__mME)->sgw_ue)->sgw_s11_teid = 0; \
3
     } while(0)
4
 
5
+#define MME_SESS_CLEAR(__sESS) \
6
+    do { \
7
+        mme_ue_t *mme_ue = NULL; \
8
+        ogs_assert(__sESS); \
9
+        mme_ue = __sESS->mme_ue; \
10
+        ogs_assert(mme_ue); \
11
+        ogs_info("Removed Session: UE IMSI:%s APN:%s", \
12
+                mme_ue->imsi_bcd, \
13
+                sess->session ? sess->session->name : "Unknown"); \
14
+        if (mme_sess_count(mme_ue) == 1) /* Last Session */ \
15
+            CLEAR_SESSION_CONTEXT(mme_ue); \
16
+        mme_sess_remove(sess); \
17
+    } while(0)
18
+
19
 #define ACTIVE_EPS_BEARERS_IS_AVAIABLE(__mME) \
20
     (mme_ue_have_active_eps_bearers(__mME))
21
 #define MME_SESSION_RELEASE_PENDING(__mME) \
22
open5gs_2.6.3.3.1f07.tar.xz/src/mme/mme-gtp-path.c -> open5gs_2.6.3.4.4265.tar.xz/src/mme/mme-gtp-path.c Changed
10
 
1
@@ -336,7 +336,7 @@
2
         if (MME_HAVE_SGW_S1U_PATH(sess)) {
3
             mme_gtp_send_delete_session_request(sgw_ue, sess, action);
4
         } else {
5
-            mme_sess_remove(sess);
6
+            MME_SESS_CLEAR(sess);
7
         }
8
     }
9
 }
10
open5gs_2.6.3.3.1f07.tar.xz/src/mme/mme-s11-handler.c -> open5gs_2.6.3.4.4265.tar.xz/src/mme/mme-s11-handler.c Changed
13
 
1
@@ -745,10 +745,7 @@
2
         ogs_assert_if_reached();
3
     }
4
 
5
-    if (mme_sess_count(mme_ue) == 1) /* Last Session */
6
-        CLEAR_SESSION_CONTEXT(mme_ue);
7
-
8
-    mme_sess_remove(sess);
9
+    MME_SESS_CLEAR(sess);
10
 }
11
 
12
 void mme_s11_handle_create_bearer_request(
13
open5gs_2.6.3.3.1f07.tar.xz/src/mme/mme-sm.c -> open5gs_2.6.3.4.4265.tar.xz/src/mme/mme-sm.c Changed
28
 
1
@@ -365,7 +365,7 @@
2
             if (default_bearer->ebi == bearer->ebi) {
3
                 /* if the bearer is a default bearer,
4
                  * remove all session context linked the default bearer */
5
-                mme_sess_remove(sess);
6
+                MME_SESS_CLEAR(sess);
7
             } else {
8
                 /* if the bearer is not a default bearer,
9
                  * just remove the bearer context */
10
@@ -374,7 +374,7 @@
11
 
12
         } else if (OGS_FSM_CHECK(&bearer->sm, esm_state_pdn_did_disconnect)) {
13
             ogs_assert(default_bearer->ebi == bearer->ebi);
14
-            mme_sess_remove(sess);
15
+            MME_SESS_CLEAR(sess);
16
 
17
         } else if (OGS_FSM_CHECK(&bearer->sm, esm_state_exception)) {
18
 
19
@@ -386,7 +386,7 @@
20
              *
21
              * Just we'll remove MME session context.
22
              */
23
-            mme_sess_remove(sess);
24
+            MME_SESS_CLEAR(sess);
25
         }
26
 
27
         ogs_pkbuf_free(pkbuf);
28