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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
lizhongxiao
OpenXG-RAN
Commits
6e98229d
Commit
6e98229d
authored
Apr 25, 2023
by
Jerome PERALDI
Committed by
Vijay C
Apr 25, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug #127339 - [OAI] [NR UE SOFTMODEM] bad pointer initialisation after W02 rebase code
parent
117f9602
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
+9
-9
No files found.
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
View file @
6e98229d
...
...
@@ -1361,6 +1361,14 @@ static bool pdcp_data_req_srb(protocol_ctxt_t *ctxt_pP,
LOG_E
(
PDCP
,
"%s:%d:%s: fatal
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
exit
(
1
);
}
nr_pdcp_manager_lock
(
nr_pdcp_ue_manager
);
ue
=
nr_pdcp_manager_get_ue
(
nr_pdcp_ue_manager
,
ue_id
);
if
(
rb_id
<
1
||
rb_id
>
2
)
rb
=
NULL
;
else
rb
=
ue
->
srb
[
rb_id
-
1
];
/** TRACE PDCP PDU */
if
(
NULL
!=
ue
&&
NULL
!=
rb
)
{
...
...
@@ -1382,14 +1390,6 @@ static bool pdcp_data_req_srb(protocol_ctxt_t *ctxt_pP,
LOG_PDCP_P
(
OAILOG_INFO
,
"DL_PDCP_PDU"
,
-
1
,
-
1
,
(
pdcp_pkt
),
(
unsigned
char
*
)
sdu_buffer
,
sdu_buffer_size
);
}
nr_pdcp_manager_lock
(
nr_pdcp_ue_manager
);
ue
=
nr_pdcp_manager_get_ue
(
nr_pdcp_ue_manager
,
ue_id
);
if
(
rb_id
<
1
||
rb_id
>
2
)
rb
=
NULL
;
else
rb
=
ue
->
srb
[
rb_id
-
1
];
if
(
rb
==
NULL
)
{
LOG_E
(
PDCP
,
"%s:%d:%s: no SRB found (ue_id %ld, rb_id %ld)
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
,
ue_id
,
rb_id
);
...
...
@@ -1397,8 +1397,8 @@ static bool pdcp_data_req_srb(protocol_ctxt_t *ctxt_pP,
return
0
;
}
rb
->
recv_sdu
(
rb
,
(
char
*
)
sdu_buffer
,
sdu_buffer_size
,
muiP
);
rb
->
recv_sdu
(
rb
,
(
char
*
)
sdu_buffer
,
sdu_buffer_size
,
muiP
);
nr_pdcp_manager_unlock
(
nr_pdcp_ue_manager
);
return
1
;
...
...
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