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 | ||
| bearer-test.c | ||
| cx-test.c | ||
| diameter-cx-path.c | ||
| diameter-rx-path.c | ||
| meson.build | ||
| rx-test.c | ||
| session-test.c | ||
| simple-test.c | ||
| test-fd-path.c | ||
| test-fd-path.h | ||
| video-test.c | ||