open5gs/tests/volte
Sukchan Lee d1c5ece759 [mme] Use bitmap-based EBI management to avoid bearer allocation crash
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
2026-02-02 22:22:56 +09:00
..
abts-main.c Added simple test program 2022-09-03 07:28:48 +09:00
bearer-test.c Merge branch 'main' into home-routed 2025-04-06 18:36:57 +09:00
cx-test.c [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
diameter-cx-path.c diameter: split stats and logger modules 2024-09-03 22:20:19 +09:00
diameter-rx-path.c diameter: split stats and logger modules 2024-09-03 22:20:19 +09:00
meson.build Prometheus metrics set to default 2022-11-21 22:06:29 +09:00
rx-test.c [mme] Use bitmap-based EBI management to avoid bearer allocation crash 2026-02-02 22:22:56 +09:00
session-test.c [mme] Use bitmap-based EBI management to avoid bearer allocation crash 2026-02-02 22:22:56 +09:00
simple-test.c Merge branch 'main' into home-routed 2025-04-06 18:36:57 +09:00
test-fd-path.c [ALL] Removing trailing whitespace and tab 2022-09-02 23:38:39 +09:00
test-fd-path.h [EPC] Support ePDG Interface (#1039) 2021-06-21 22:36:38 +09:00
video-test.c [mme] Use bitmap-based EBI management to avoid bearer allocation crash 2026-02-02 22:22:56 +09:00