Skip to content

Commit 3fc5745

Browse files
pdcp: set count in SDU info of rx_window to detect duplicates
1 parent 2b867b5 commit 3fc5745

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/pdcp/pdcp_entity_rx.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ void pdcp_entity_rx::apply_reordering(pdcp_rx_pdu_info pdu_info)
388388
// Store PDU in Rx window
389389
pdcp_rx_sdu_info& sdu_info = rx_window.add_sn(rcvd_count);
390390
sdu_info.buf = std::move(pdu_info.buf);
391+
sdu_info.count = pdu_info.count;
391392
sdu_info.time_of_arrival = pdu_info.time_of_arrival;
392393

393394
// Update RX_NEXT

0 commit comments

Comments
 (0)