• Cedric Roux's avatar
    bugfix: fix issue 285 - connect/disconnect multiple time · ba72043e
    Cedric Roux authored
    As reported by Emad Alizade:
    
        According to "Issue255 256 257 paging reesta release" that has been
        merged in develop version, we have a question: In rrc_eNB_free_UE()
        function only all ulsch related memory of user has been cleaned, but
        I think not only ulsch memory but also dlsch memory must be cleaned.
        I tested the latest develop version and with repetition UE attach-detach
        procedures we find that the dlsch memory has not been cleaned and after
        repeat this sequence (45 times) assertion with cause UE_id!=-1 (no free
        or exiting dlsch_context, dci_tools.c: fill_dci_and_dlsch() ) occurred
        and no UE will be attached to system.
    
    The fixes in this commit are from Emad Alizade.
    
    (cherry picked from commit 4b5b55649351b4fe3f46b35d4a533a7b778ccce0)
    
    # Conflicts:
    #	openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
    #	openair2/LAYER2/MAC/eNB_scheduler.c
    #	openair2/RRC/LITE/rrc_eNB.c
    ba72043e
dlsch_coding.c 31.8 KB