Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
546ffee5
Commit
546ffee5
authored
Aug 09, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DU dies during HO: free HO context of UE to avoid dangling data
parent
b6ccf8aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
openair2/RRC/NR/rrc_gNB_du.c
openair2/RRC/NR/rrc_gNB_du.c
+7
-1
No files found.
openair2/RRC/NR/rrc_gNB_du.c
View file @
546ffee5
...
...
@@ -24,6 +24,7 @@
#include "common/ran_context.h"
#include "nr_rrc_defs.h"
#include "rrc_gNB_UE_context.h"
#include "rrc_gNB_mobility.h"
#include "openair2/F1AP/f1ap_common.h"
#include "openair2/F1AP/f1ap_ids.h"
#include "executables/softmodem-common.h"
...
...
@@ -397,7 +398,12 @@ static int invalidate_du_connections(gNB_RRC_INST *rrc, sctp_assoc_t assoc_id)
int
count
=
0
;
rrc_gNB_ue_context_t
*
ue_context_p
=
NULL
;
RB_FOREACH
(
ue_context_p
,
rrc_nr_ue_tree_s
,
&
rrc
->
rrc_ue_head
)
{
uint32_t
ue_id
=
ue_context_p
->
ue_context
.
rrc_ue_id
;
gNB_RRC_UE_t
*
UE
=
&
ue_context_p
->
ue_context
;
uint32_t
ue_id
=
UE
->
rrc_ue_id
;
if
(
UE
->
ho_context
!=
NULL
)
{
LOG_W
(
NR_RRC
,
"DU disconnected while handover for UE %d active
\n
"
,
ue_id
);
nr_rrc_finalize_ho
(
UE
);
}
f1_ue_data_t
ue_data
=
cu_get_f1_ue_data
(
ue_id
);
if
(
ue_data
.
du_assoc_id
==
assoc_id
)
{
/* this UE belongs to the DU that disconnected, set du_assoc_id to 0,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment