Changes of Revision 16

commit_3955e9ba8d6b0bedcb6be9ef85100d34108fd0a9.txt Added
commit_d1ed8aa61ddc5b32783e5c67acc97db236414a07.txt Deleted
open5gs_2.4.11.11.d1ed.dsc -> open5gs_2.4.11.12.3955.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-ausf, open5gs-udm, open5gs-pcf, open5gs-nssf, open5gs-bsf, open5gs-udr, open5gs, open5gs-dbg
4
 Architecture: any
5
-Version: 2.4.11.11.d1ed
6
+Version: 2.4.11.12.3955
7
 Maintainer: Harald Welte <laforge@gnumonks.org>
8
 Uploaders: Sukchan Lee <acetcom@gmail.com>
9
 Homepage: https://open5gs.org
10
@@ -30,8 +30,8 @@
11
  open5gs-udr deb net optional arch=any
12
  open5gs-upf deb net optional arch=any
13
 Checksums-Sha1:
14
- c2e1fb20345d36cec1c6bc4843c13030979d34ff 11470732 open5gs_2.4.11.11.d1ed.tar.xz
15
+ 9c8ca3af4cffe69864f119fd9a9b19b7d5fff920 11470736 open5gs_2.4.11.12.3955.tar.xz
16
 Checksums-Sha256:
17
- fabf0ea9f40d89d0a98e8a2968cd7f8a98dbf98c29b40f27f487529fb26917fa 11470732 open5gs_2.4.11.11.d1ed.tar.xz
18
+ 260be063624d77bc6b43e8ed58c25520ae363bf3639d70e65547c914bccdf5b4 11470736 open5gs_2.4.11.12.3955.tar.xz
19
 Files:
20
- 110cbed12f3fabbffcb5019932c4b38a 11470732 open5gs_2.4.11.11.d1ed.tar.xz
21
+ 00f721f6b1c2ef9792d3221ec13fe1d8 11470736 open5gs_2.4.11.12.3955.tar.xz
22
open5gs_2.4.11.11.d1ed.tar.xz/.tarball-version -> open5gs_2.4.11.12.3955.tar.xz/.tarball-version Changed
4
 
1
@@ -1 +1 @@
2
-2.4.11.11-d1ed
3
+2.4.11.12-3955
4
open5gs_2.4.11.11.d1ed.tar.xz/debian/changelog -> open5gs_2.4.11.12.3955.tar.xz/debian/changelog Changed
12
 
1
@@ -1,8 +1,8 @@
2
-open5gs (2.4.11.11.d1ed) unstable; urgency=medium
3
+open5gs (2.4.11.12.3955) unstable; urgency=medium
4
 
5
   * Automatically generated changelog entry for building the Osmocom master feed
6
 
7
- -- Osmocom OBS scripts <info@osmocom.org>  Fri, 07 Oct 2022 02:01:47 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org>  Fri, 07 Oct 2022 05:20:44 +0000
9
 
10
 open5gs (2.4.11) unstable; urgency=medium
11
 
12
open5gs_2.4.11.11.d1ed.tar.xz/src/mme/mme-path.c -> open5gs_2.4.11.12.3955.tar.xz/src/mme/mme-path.c Changed
13
 
1
@@ -240,6 +240,11 @@
2
             ogs_warn("MME-initiated Detach cannot be invoked");
3
         } else {
4
             ogs_assert(OGS_OK == nas_eps_send_detach_request(mme_ue));
5
+            if (MME_P_TMSI_IS_AVAILABLE(mme_ue)) {
6
+                ogs_assert(OGS_OK == sgsap_send_detach_indication(mme_ue));
7
+            } else {
8
+                mme_send_delete_session_or_detach(mme_ue);
9
+            }
10
         }
11
         break;
12
     default:
13
open5gs_2.4.11.11.d1ed.tar.xz/src/mme/mme-s6a-handler.c -> open5gs_2.4.11.12.3955.tar.xz/src/mme/mme-s6a-handler.c Changed
50
 
1
@@ -226,15 +226,35 @@
2
     switch (clr_message->cancellation_type) {
3
     case OGS_DIAM_S6A_CT_SUBSCRIPTION_WITHDRAWL:
4
         mme_ue->detach_type = MME_DETACH_TYPE_HSS_EXPLICIT;
5
+
6
+        /*
7
+         * Before sending Detach-Request,
8
+         * we need to check whether UE is IDLE or not.
9
+         */
10
         if (ECM_IDLE(mme_ue)) {
11
             MME_STORE_PAGING_INFO(mme_ue, MME_PAGING_TYPE_DETACH_TO_UE, NULL);
12
             ogs_assert(OGS_OK == s1ap_send_paging(mme_ue, S1AP_CNDomain_ps));
13
         } else {
14
             ogs_assert(OGS_OK == nas_eps_send_detach_request(mme_ue));
15
+            if (MME_P_TMSI_IS_AVAILABLE(mme_ue)) {
16
+                ogs_assert(OGS_OK == sgsap_send_detach_indication(mme_ue));
17
+            } else {
18
+                mme_send_delete_session_or_detach(mme_ue);
19
+            }
20
         }
21
         break;
22
     case OGS_DIAM_S6A_CT_MME_UPDATE_PROCEDURE:
23
         mme_ue->detach_type = MME_DETACH_TYPE_HSS_IMPLICIT;
24
+
25
+        /*
26
+         * There is no need to send NAS or S1AP message to the UE.
27
+         * So, we don't have to check whether UE is IDLE or not.
28
+         */
29
+        if (MME_P_TMSI_IS_AVAILABLE(mme_ue)) {
30
+            ogs_assert(OGS_OK == sgsap_send_detach_indication(mme_ue));
31
+        } else {
32
+            mme_send_delete_session_or_detach(mme_ue);
33
+        }
34
         break;
35
     default:
36
         ogs_fatal("Unsupported Cancellation-Type %d",
37
@@ -242,12 +262,6 @@
38
         ogs_assert_if_reached();
39
         break;
40
     }
41
-
42
-    if (MME_P_TMSI_IS_AVAILABLE(mme_ue)) {
43
-        ogs_assert(OGS_OK == sgsap_send_detach_indication(mme_ue));
44
-    } else {
45
-        mme_send_delete_session_or_detach(mme_ue);
46
-    }
47
 }
48
 
49
 static uint8_t mme_ue_session_from_slice_data(mme_ue_t *mme_ue, 
50