Changes of Revision 556

commit_1b167ef44d31c7edda78c43bdb9e31e1e8f2bb3f.txt Added
commit_43bcf08d51ed5910ae76c0cce9b55866d5a4a13f.txt Deleted
open5gs_2.7.2.4562.43bc.dsc -> open5gs_2.7.2.4563.1b16.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-sepp, open5gs-ausf, open5gs-udm, open5gs-pcf, open5gs-nssf, open5gs-bsf, open5gs-udr, open5gs, open5gs-dbg
4
 Architecture: any
5
-Version: 2.7.2.4562.43bc
6
+Version: 2.7.2.4563.1b16
7
 Maintainer: Harald Welte <laforge@gnumonks.org>
8
 Uploaders: Sukchan Lee <acetcom@gmail.com>
9
 Homepage: https://open5gs.org
10
@@ -32,8 +32,8 @@
11
  open5gs-udr deb net optional arch=any
12
  open5gs-upf deb net optional arch=any
13
 Checksums-Sha1:
14
- 5a91ca98e265f8bb9f5b81f0ae80611b128a99d0 14513272 open5gs_2.7.2.4562.43bc.tar.xz
15
+ 3b71265e5700eaac6211dd7605745f3d1dd25456 14513384 open5gs_2.7.2.4563.1b16.tar.xz
16
 Checksums-Sha256:
17
- de8a267222166b8ea1e9cb9078ef4cb1eeace3dac331e77a1cbb10f137c26b6c 14513272 open5gs_2.7.2.4562.43bc.tar.xz
18
+ 92773d0749eddb1bad526a0e59fbd734b543a74c36570784ec6f5f0c09e15d90 14513384 open5gs_2.7.2.4563.1b16.tar.xz
19
 Files:
20
- b6e37ea5b7f9e7c1f73f70ccaf079b5e 14513272 open5gs_2.7.2.4562.43bc.tar.xz
21
+ 1be84e8dc2425580bef152199efe2e57 14513384 open5gs_2.7.2.4563.1b16.tar.xz
22
open5gs_2.7.2.4562.43bc.tar.xz/.tarball-version -> open5gs_2.7.2.4563.1b16.tar.xz/.tarball-version Changed
4
 
1
@@ -1 +1 @@
2
-2.7.2.4562-43bc
3
+2.7.2.4563-1b16
4
open5gs_2.7.2.4562.43bc.tar.xz/debian/changelog -> open5gs_2.7.2.4563.1b16.tar.xz/debian/changelog Changed
12
 
1
@@ -1,8 +1,8 @@
2
-open5gs (2.7.2.4562.43bc) unstable; urgency=medium
3
+open5gs (2.7.2.4563.1b16) unstable; urgency=medium
4
 
5
   * Automatically generated changelog entry for building the Osmocom master feed
6
 
7
- -- Osmocom OBS scripts <info@osmocom.org>  Wed, 04 Dec 2024 06:13:09 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org>  Thu, 05 Dec 2024 02:03:14 +0000
9
 
10
 open5gs (2.7.2) unstable; urgency=medium
11
 
12
open5gs_2.7.2.4562.43bc.tar.xz/src/amf/gmm-sm.c -> open5gs_2.7.2.4563.1b16.tar.xz/src/amf/gmm-sm.c Changed
185
 
1
@@ -547,61 +547,64 @@
2
             SWITCH(sbi_message->h.resource.component0)
3
             CASE(OGS_SBI_RESOURCE_NAME_UE_CONTEXTS)
4
                 SWITCH(sbi_message->h.resource.component2)
5
-                    CASE(OGS_SBI_RESOURCE_NAME_TRANSFER)
6
+                CASE(OGS_SBI_RESOURCE_NAME_TRANSFER)
7
 
8
-                        r = OGS_ERROR;
9
-
10
-                        if (sbi_message->res_status == OGS_SBI_HTTP_STATUS_OK) {
11
-                            amf_ue->amf_ue_context_transfer_state = UE_CONTEXT_TRANSFER_NEW_AMF_STATE;
12
-                            r = amf_namf_comm_handle_ue_context_transfer_response(
13
-                                    sbi_message, amf_ue);
14
-                            if (r != OGS_OK) {
15
-                                ogs_error("failed to handle "
16
-                                        "UE_CONTEXT_TRANSFER response");
17
-                                amf_ue->amf_ue_context_transfer_state = UE_CONTEXT_INITIAL_STATE;
18
-                            }
19
-                        } else {
20
-                            ogs_error("%s HTTP response error %d",
21
-                                amf_ue->suci, sbi_message->res_status);
22
-                            amf_ue->amf_ue_context_transfer_state = UE_CONTEXT_INITIAL_STATE;
23
-                        }
24
+                    r = OGS_ERROR;
25
 
26
+                    if (sbi_message->res_status == OGS_SBI_HTTP_STATUS_OK) {
27
+                        amf_ue->amf_ue_context_transfer_state =
28
+                            UE_CONTEXT_TRANSFER_NEW_AMF_STATE;
29
+                        r = amf_namf_comm_handle_ue_context_transfer_response(
30
+                                sbi_message, amf_ue);
31
                         if (r != OGS_OK) {
32
-                            if (!(AMF_UE_HAVE_SUCI(amf_ue) ||
33
-                                    AMF_UE_HAVE_SUPI(amf_ue))) {
34
-                                CLEAR_AMF_UE_TIMER(amf_ue->t3570);
35
-                                r = nas_5gs_send_identity_request(amf_ue);
36
-                                ogs_expect(r == OGS_OK);
37
-                                ogs_assert(r != OGS_ERROR);
38
-                                break;
39
-                            }
40
+                            ogs_error("failed to handle "
41
+                                    "UE_CONTEXT_TRANSFER response");
42
+                            amf_ue->amf_ue_context_transfer_state =
43
+                                UE_CONTEXT_INITIAL_STATE;
44
                         }
45
+                    } else {
46
+                        ogs_error("%s HTTP response error %d",
47
+                            amf_ue->suci, sbi_message->res_status);
48
+                        amf_ue->amf_ue_context_transfer_state =
49
+                            UE_CONTEXT_INITIAL_STATE;
50
+                    }
51
 
52
-                        xact_count = amf_sess_xact_count(amf_ue);
53
-                        amf_sbi_send_release_all_sessions(
54
-                                ran_ue_find_by_id(amf_ue->ran_ue_id), amf_ue,
55
-                                AMF_RELEASE_SM_CONTEXT_NO_STATE);
56
-
57
-                        if (!AMF_SESSION_RELEASE_PENDING(amf_ue) &&
58
-                            amf_sess_xact_count(amf_ue) == xact_count) {
59
-                            r = amf_ue_sbi_discover_and_send(
60
-                                    OGS_SBI_SERVICE_TYPE_NAUSF_AUTH, NULL,
61
-                                    amf_nausf_auth_build_authenticate,
62
-                                    amf_ue, 0, NULL);
63
+                    if (r != OGS_OK) {
64
+                        if (!(AMF_UE_HAVE_SUCI(amf_ue) ||
65
+                                AMF_UE_HAVE_SUPI(amf_ue))) {
66
+                            CLEAR_AMF_UE_TIMER(amf_ue->t3570);
67
+                            r = nas_5gs_send_identity_request(amf_ue);
68
                             ogs_expect(r == OGS_OK);
69
                             ogs_assert(r != OGS_ERROR);
70
+                            break;
71
                         }
72
+                    }
73
 
74
-                        OGS_FSM_TRAN(s, &gmm_state_authentication);
75
-                        break;
76
+                    xact_count = amf_sess_xact_count(amf_ue);
77
+                    amf_sbi_send_release_all_sessions(
78
+                            ran_ue_find_by_id(amf_ue->ran_ue_id), amf_ue,
79
+                            AMF_RELEASE_SM_CONTEXT_NO_STATE);
80
 
81
-                    DEFAULT
82
-                        ogs_error("Invalid resource name %s",
83
-                                sbi_message->h.resource.component2);
84
-                        ogs_assert_if_reached();
85
-                    END
86
+                    if (!AMF_SESSION_RELEASE_PENDING(amf_ue) &&
87
+                        amf_sess_xact_count(amf_ue) == xact_count) {
88
+                        r = amf_ue_sbi_discover_and_send(
89
+                                OGS_SBI_SERVICE_TYPE_NAUSF_AUTH, NULL,
90
+                                amf_nausf_auth_build_authenticate,
91
+                                amf_ue, 0, NULL);
92
+                        ogs_expect(r == OGS_OK);
93
+                        ogs_assert(r != OGS_ERROR);
94
+                    }
95
+
96
+                    OGS_FSM_TRAN(s, &gmm_state_authentication);
97
                     break;
98
 
99
+                DEFAULT
100
+                    ogs_error("Invalid resource name %s",
101
+                            sbi_message->h.resource.component2);
102
+                    ogs_assert_if_reached();
103
+                END
104
+                break;
105
+
106
             DEFAULT
107
                 ogs_error("Invalid resource name %s",
108
                         sbi_message->h.resource.component0);
109
@@ -1165,6 +1168,75 @@
110
                     ogs_assert_if_reached();
111
                 END
112
                 break;
113
+
114
+            DEFAULT
115
+                ogs_error("Invalid resource name %s",
116
+                        sbi_message->h.resource.component0);
117
+                ogs_assert_if_reached();
118
+            END
119
+            break;
120
+
121
+        CASE(OGS_SBI_SERVICE_NAME_NAMF_COMM)
122
+            SWITCH(sbi_message->h.resource.component0)
123
+            CASE(OGS_SBI_RESOURCE_NAME_UE_CONTEXTS)
124
+                SWITCH(sbi_message->h.resource.component2)
125
+                CASE(OGS_SBI_RESOURCE_NAME_TRANSFER)
126
+
127
+                    r = OGS_ERROR;
128
+
129
+                    if (sbi_message->res_status == OGS_SBI_HTTP_STATUS_OK) {
130
+                        amf_ue->amf_ue_context_transfer_state =
131
+                            UE_CONTEXT_TRANSFER_NEW_AMF_STATE;
132
+                        r = amf_namf_comm_handle_ue_context_transfer_response(
133
+                                sbi_message, amf_ue);
134
+                        if (r != OGS_OK) {
135
+                            ogs_error("failed to handle "
136
+                                    "UE_CONTEXT_TRANSFER response");
137
+                            amf_ue->amf_ue_context_transfer_state =
138
+                                UE_CONTEXT_INITIAL_STATE;
139
+                        }
140
+                    } else {
141
+                        ogs_error("%s HTTP response error %d",
142
+                            amf_ue->suci, sbi_message->res_status);
143
+                        amf_ue->amf_ue_context_transfer_state =
144
+                            UE_CONTEXT_INITIAL_STATE;
145
+                    }
146
+
147
+                    if (r != OGS_OK) {
148
+                        if (!(AMF_UE_HAVE_SUCI(amf_ue) ||
149
+                                AMF_UE_HAVE_SUPI(amf_ue))) {
150
+                            CLEAR_AMF_UE_TIMER(amf_ue->t3570);
151
+                            r = nas_5gs_send_identity_request(amf_ue);
152
+                            ogs_expect(r == OGS_OK);
153
+                            ogs_assert(r != OGS_ERROR);
154
+                            break;
155
+                        }
156
+                    }
157
+
158
+                    xact_count = amf_sess_xact_count(amf_ue);
159
+                    amf_sbi_send_release_all_sessions(
160
+                            ran_ue_find_by_id(amf_ue->ran_ue_id), amf_ue,
161
+                            AMF_RELEASE_SM_CONTEXT_NO_STATE);
162
+
163
+                    if (!AMF_SESSION_RELEASE_PENDING(amf_ue) &&
164
+                        amf_sess_xact_count(amf_ue) == xact_count) {
165
+                        r = amf_ue_sbi_discover_and_send(
166
+                                OGS_SBI_SERVICE_TYPE_NAUSF_AUTH, NULL,
167
+                                amf_nausf_auth_build_authenticate,
168
+                                amf_ue, 0, NULL);
169
+                        ogs_expect(r == OGS_OK);
170
+                        ogs_assert(r != OGS_ERROR);
171
+                    }
172
+
173
+                    OGS_FSM_TRAN(s, &gmm_state_authentication);
174
+                    break;
175
+
176
+                DEFAULT
177
+                    ogs_error("Invalid resource name %s",
178
+                            sbi_message->h.resource.component2);
179
+                    ogs_assert_if_reached();
180
+                END
181
+                break;
182
 
183
             DEFAULT
184
                 ogs_error("Invalid resource name %s",
185