mirror of https://github.com/pvnis/srsRAN_4G.git
lib,rlc_am_{lte,nr}: fix/add tx_window overrun protection
This commit fixes as bug causing a crash of the eNB in case of many pending RETX and the reception of a trimmed PDU. The following sequence leads to a crash: - RETX queue contains many PDUs for RETX - Receive trimmed PDU containing a trimmed subset of NACKs - RETX queue is cleared and re-populated with a trimmed subset - After all RETX (/!\ trimmed subset) is done, continue TX new PDUs - tx_window blows up - tx_window overflows if another status PDU is not received in time - Overflow overwrites oldest element in tx_window - Handling of next status PDU fails due to missing elements in tx_window Related PR #4029master
parent
66b5b6c236
commit
fccfd5e140
Loading…
Reference in New Issue