Unipisa / Simu5G

Simu5G - 5G NR and LTE/LTE-A user-plane simulation model for OMNeT++ & INET
https://simu5g.org
Other
147 stars 83 forks source link

fix: drop data packets if not associated with eNB in sidelink. #174

Closed stefanSchuhbaeck closed 1 year ago

stefanSchuhbaeck commented 1 year ago

Do not propagate received data packets up the stack when UE is NOT associated with an eNB anymore.

This can happen when handovers are active and a UE leaves a eNB but cannot attach to a new one. In this case the UE is assosicated with a dummy master_Id of zero which does not have any data, leading to nullpointers in the mac layer processing

giovanninardini commented 1 year ago

This pull request has been merged into the master branch