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
3fde37a2
Commit
3fde37a2
authored
Dec 17, 2021
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix after merge and a ci bug (containers)
parent
0f00e571
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
11 deletions
+7
-11
common/utils/system.c
common/utils/system.c
+3
-8
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
+3
-2
openair2/RRC/NR/rrc_gNB_NGAP.c
openair2/RRC/NR/rrc_gNB_NGAP.c
+1
-1
No files found.
common/utils/system.c
View file @
3fde37a2
...
...
@@ -96,20 +96,15 @@ static void read_pipe(int p, char *b, int size) {
}
}
int
checkIfFedoraDistribution
(
void
)
{
return
system
(
"grep -iq 'ID_LIKE.*fedora' /etc/os-release "
);
return
!
system
(
"grep -iq 'ID_LIKE.*fedora' /etc/os-release "
);
}
int
checkIfGenericKernelOnFedora
(
void
)
{
int
ret
=
system
(
"uname -a | grep -q rt"
);
return
1
-
ret
;
return
system
(
"uname -a | grep -q rt"
);
}
int
checkIfInsideContainer
(
void
)
{
int
res
=
system
(
"egrep -q 'libpod|podman|kubepods' /proc/self/cgroup"
);
if
(
res
>
0
)
return
1
;
else
return
0
;
return
!
system
(
"egrep -q 'libpod|podman|kubepods' /proc/self/cgroup"
);
}
/********************************************************************/
...
...
openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
View file @
3fde37a2
...
...
@@ -254,7 +254,6 @@ static void do_pdcp_data_ind(
//ctxt_pP->enb_flag != 1 ||
ctxt_pP
->
instance
!=
0
||
ctxt_pP
->
eNB_index
!=
0
||
ctxt_pP
->
configured
!=
1
||
ctxt_pP
->
brOption
!=
0
)
{
LOG_E
(
PDCP
,
"%s:%d:%s: fatal
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
exit
(
1
);
...
...
@@ -374,7 +373,9 @@ boolean_t pdcp_data_ind(
const
MBMS_flag_t
MBMS_flagP
,
const
rb_id_t
rb_id
,
const
sdu_size_t
sdu_buffer_size
,
mem_block_t
*
const
sdu_buffer
)
mem_block_t
*
const
sdu_buffer
,
const
uint32_t
*
const
srcID
,
const
uint32_t
*
const
dstID
)
{
enqueue_pdcp_data_ind
(
ctxt_pP
,
srb_flagP
,
...
...
openair2/RRC/NR/rrc_gNB_NGAP.c
View file @
3fde37a2
...
...
@@ -306,7 +306,7 @@ nr_rrc_pdcp_config_security(
uint8_t
*
kRRCenc
=
NULL
;
uint8_t
*
kRRCint
=
NULL
;
uint8_t
*
kUPenc
=
NULL
;
uint8_t
*
k_kdf
=
NULL
;
//
uint8_t *k_kdf = NULL;
static
int
print_keys
=
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