Changes of Revision 383

commit_b94173ab41985d3c0c4c125aefa65c385a5fa0f5.txt Added
commit_d7b896affb7948e8ab12a026b6139b93dec701d5.txt Deleted
open5gs_2.7.0.61.d7b89.dsc -> open5gs_2.7.0.62.b9417.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.0.61.d7b89
6
+Version: 2.7.0.62.b9417
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
- 32e52df993b49ed95ec615c50c93f6e103fb9646 14470248 open5gs_2.7.0.61.d7b89.tar.xz
15
+ 182bf62ed4a8ab03b8a4faf418486ce884018ad1 14470024 open5gs_2.7.0.62.b9417.tar.xz
16
 Checksums-Sha256:
17
- 72852887645b40d61b8b3e9c36a1245d62db8411dded56dade90bdf5ede2b6da 14470248 open5gs_2.7.0.61.d7b89.tar.xz
18
+ f362ec8104b449f5c04db15c40d69124175cee64c10f2e28282c68d6d07a32b6 14470024 open5gs_2.7.0.62.b9417.tar.xz
19
 Files:
20
- 11b0454dbb0cdaad4939499e51a3ed94 14470248 open5gs_2.7.0.61.d7b89.tar.xz
21
+ 666cefc37b45f6e55010dc87e7ddaa21 14470024 open5gs_2.7.0.62.b9417.tar.xz
22
open5gs_2.7.0.61.d7b89.tar.xz/.tarball-version -> open5gs_2.7.0.62.b9417.tar.xz/.tarball-version Changed
4
 
1
@@ -1 +1 @@
2
-2.7.0.61-d7b89
3
+2.7.0.62-b9417
4
open5gs_2.7.0.61.d7b89.tar.xz/debian/changelog -> open5gs_2.7.0.62.b9417.tar.xz/debian/changelog Changed
12
 
1
@@ -1,8 +1,8 @@
2
-open5gs (2.7.0.61.d7b89) unstable; urgency=medium
3
+open5gs (2.7.0.62.b9417) unstable; urgency=medium
4
 
5
   * Automatically generated changelog entry for building the Osmocom master feed
6
 
7
- -- Osmocom OBS scripts <info@osmocom.org>  Fri, 19 Jan 2024 23:23:47 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org>  Sun, 21 Jan 2024 03:10:31 +0000
9
 
10
 open5gs (2.7.0) unstable; urgency=medium
11
 
12
open5gs_2.7.0.61.d7b89.tar.xz/lib/core/ogs-pool.h -> open5gs_2.7.0.62.b9417.tar.xz/lib/core/ogs-pool.h Changed
14
 
1
@@ -157,6 +157,12 @@
2
        (pool)->arrayj = temp; \
3
     } \
4
 } while (0)
5
+#define ogs_pool_assert_if_has_duplicate(pool) do { \
6
+    int i, j; \
7
+    for (i = 0; i < (pool)->size; i++) \
8
+        for (j = i+1; j < (pool)->size; j++) \
9
+            ogs_assert(((pool)->arrayi) != ((pool)->arrayj)); \
10
+} while (0)
11
 
12
 #ifdef __cplusplus
13
 }
14
open5gs_2.7.0.61.d7b89.tar.xz/src/amf/context.c -> open5gs_2.7.0.62.b9417.tar.xz/src/amf/context.c Changed
24
 
1
@@ -62,8 +62,12 @@
2
     ogs_pool_init(&amf_ue_pool, ogs_global_conf()->max.ue);
3
     ogs_pool_init(&ran_ue_pool, ogs_global_conf()->max.ue);
4
     ogs_pool_init(&amf_sess_pool, ogs_app()->pool.sess);
5
+    /* Increase size of TMSI pool (#1827) */
6
     ogs_pool_init(&m_tmsi_pool, ogs_global_conf()->max.ue*2);
7
     ogs_pool_random_id_generate(&m_tmsi_pool);
8
+#if 0 /* For debugging : Verify whether there are duplicates of M_TMSI. */
9
+    ogs_pool_assert_if_has_duplicate(&m_tmsi_pool);
10
+#endif
11
 
12
     ogs_list_init(&self.gnb_list);
13
     ogs_list_init(&self.amf_ue_list);
14
@@ -2487,7 +2491,8 @@
15
     ogs_assert(m_tmsi);
16
 
17
     /* Restore M-TMSI by Issue #2307 */
18
-    *m_tmsi &= 0x003fffff;
19
+    *m_tmsi &= 0x3fffffff;
20
+    *m_tmsi = ((*m_tmsi & 0xffff) | ((*m_tmsi & 0x3f000000) >> 8));
21
     ogs_pool_free(&m_tmsi_pool, m_tmsi);
22
 
23
     return OGS_OK;
24
open5gs_2.7.0.61.d7b89.tar.xz/src/mme/mme-context.c -> open5gs_2.7.0.62.b9417.tar.xz/src/mme/mme-context.c Changed
24
 
1
@@ -118,8 +118,12 @@
2
     ogs_pool_init(&sgw_ue_pool, ogs_global_conf()->max.ue);
3
     ogs_pool_init(&mme_sess_pool, ogs_app()->pool.sess);
4
     ogs_pool_init(&mme_bearer_pool, ogs_app()->pool.bearer);
5
+    /* Increase size of TMSI pool (#1827) */
6
     ogs_pool_init(&m_tmsi_pool, ogs_global_conf()->max.ue*2);
7
     ogs_pool_random_id_generate(&m_tmsi_pool);
8
+#if 0 /* For debugging : Verify whether there are duplicates of M_TMSI. */
9
+    ogs_pool_assert_if_has_duplicate(&m_tmsi_pool);
10
+#endif
11
 
12
     self.enb_addr_hash = ogs_hash_make();
13
     ogs_assert(self.enb_addr_hash);
14
@@ -4652,7 +4656,8 @@
15
     ogs_assert(m_tmsi);
16
 
17
     /* Restore M-TMSI by Issue #2307 */
18
-    *m_tmsi &= 0x003fffff;
19
+    *m_tmsi &= 0x3fffffff;
20
+    *m_tmsi = ((*m_tmsi & 0xffff) | ((*m_tmsi & 0x3f000000) >> 8));
21
     ogs_pool_free(&m_tmsi_pool, m_tmsi);
22
 
23
     return OGS_OK;
24