Prevent infinite loop on HARQ PID=-1 and Single Entry PHR
When receiving single-entry PHR with HARQ PID -1 (nr_mac_process_mac_pdu() is called with such parameter in at least two places), the error handling path calls continue skipping the accounting of the current sub-pdu (pduP and pdu_len). This results in an infinite loop. Fix by moving functionality into a separate function. Fixes: 2e049363 ("RLC data ind: single call for complete TB at gNB") Signed-off-by:Robert Schmidt <robert.schmidt@openairinterface.org>
Showing
Please register or sign in to comment