aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ms/MsTest.cpp
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-04-17 20:43:26 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-04-17 20:46:14 +0200
commit14379ef901df1735a2d54fe3bb5bc353abe7ba51 (patch)
treef170dc2486f62d584d0558b4d3af2e667d436824 /tests/ms/MsTest.cpp
parentcb947e0a0fe3270fa97cdf319c610cf3e86ac9ed (diff)
ms: Fix MS without PTMSI not freed immediatelly
This check (tlli != 0) was added in 2015 in 6d86628e5b6d81afae4ca1f24201ee90bfab1c2a, with the rationale below: """ To avoid dangling entries without a TLLI there (which cannnot be retrieved anyway), the timer in the MS objects is not started after all TBF have been detached, so that they get deleted immediately in that case. """ The rationale makes sense, but through time the MS class was fixed to return GSM_RESERVED_TMSI (0xFFFFFFFF) when no TMSI was available. Hence, the check was wrong, and as a result, free() of MS containing GSM_RESERVED_TMSI would be delayed over time by release timer. Related: OS#6002 Change-Id: I7a694a30f8709c00af774846d7c4925cef253a71
Diffstat (limited to 'tests/ms/MsTest.cpp')
0 files changed, 0 insertions, 0 deletions