Skip to content

Commit bad0119

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

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
@@ -207,7 +207,10 @@ async_task<void> f1c_other_srb_du_bearer::handle_pdu_and_await_delivery(byte_buf
207207

208208
void f1c_other_srb_du_bearer::handle_transmit_notification(uint32_t highest_pdcp_sn)
209209
{
210-
handle_notification(highest_pdcp_sn, true);
210+
if (not ue_exec.defer([this, highest_pdcp_sn]() { handle_notification(highest_pdcp_sn, true); })) {
211+
logger.warning("Discarded transmit notification for SRB{} because the task executor queue is full.",
212+
srb_id_to_uint(srb_id));
213+
}
211214
}
212215

213216
void f1c_other_srb_du_bearer::handle_delivery_notification(uint32_t highest_pdcp_sn)

0 commit comments

Comments
 (0)