• Cedric Roux's avatar
    hack in RLC AM to avoid a race · 38b38779
    Cedric Roux authored
    Here is the problem:
        UE comes. SRB2 is configured via message to RRC.
        At some point the RLC AM is created but not configured yet.
        At this moment (I think) MAC calls mac_rlc_status_ind
        which calls this function. But the init was not finished yet
        and we have a crash below when testing mem_block != NULL.
    
    The "solution" is to test if rlc->input_sdus is NULL.
    This is a very dirty hack. I would say the solution
    is to use proper locking mechanism because RLC is used
    by two threads: PHY/MAC on one hand and RRC on another
    hand (I think).
    38b38779
Name
Last commit
Last update
cmake_targets Loading commit data...
common/utils Loading commit data...
openair1 Loading commit data...
openair2 Loading commit data...
openair3 Loading commit data...
svn2git Loading commit data...
targets Loading commit data...
.gitlab-ci.yml Loading commit data...
LICENSE Loading commit data...
NOTICE.txt Loading commit data...
README.txt Loading commit data...
maketags Loading commit data...
oaienv Loading commit data...