mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-26 10:30:41 +00:00
When bearer contexts are migrated between MME-UE objects during UE context relocation (OLD UE -> NEW UE), the existing ogs_pool-based EBI tracking could become inconsistent. In mme_ue_set_imsi(), bearer->ebi_node was freed from the old UE pool without reserving the same EBI in the new UE context. This allowed duplicate allocations and eventually exhausted the EBI pool (5..15), triggering a fatal assertion in mme_bearer_add(). This patch replaces the pool-node based EBI handling with a bitmap allocator, which is safe across UE context migration and supports explicit EBI reservation. Also update related test cases to match the new allocation order. Fixes: #4294 |
||
|---|---|---|
| .. | ||
| abts-main.c | ||
| diameter-s6b-path.c | ||
| diameter-swx-path.c | ||
| epdg-test.c | ||
| gtp-path.c | ||
| gtp-path.h | ||
| meson.build | ||
| s2b-build.c | ||
| s2b-build.h | ||
| s2b-handler.c | ||
| s2b-handler.h | ||
| test-fd-path.c | ||
| test-fd-path.h | ||