Skip to content

Commit 7e03996

Browse files
committed
f1ap-du: defer transmit notifications to UE executor
1 parent a834f69 commit 7e03996

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/f1ap/du/ue_context/f1c_du_bearer_impl.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,10 @@ void f1c_other_srb_du_bearer::handle_transmit_notification(uint32_t highest_pdcp
212212

213213
void f1c_other_srb_du_bearer::handle_delivery_notification(uint32_t highest_pdcp_sn)
214214
{
215-
handle_notification(highest_pdcp_sn, false);
215+
if (not ue_exec.defer([this, highest_pdcp_sn]() { handle_notification(highest_pdcp_sn, false); })) {
216+
logger.warning("Discarded delivery notification for SRB{} because the task executor queue is full.",
217+
srb_id_to_uint(srb_id));
218+
}
216219
}
217220

218221
async_task<void> f1c_other_srb_du_bearer::handle_pdu_and_await(byte_buffer pdu, bool tx_or_delivery)

0 commit comments

Comments
 (0)