From c4c44c33f41c0be8c752261c958b4b03e34d02f5 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Thu, 24 Jan 2019 20:56:54 +0100 Subject: [PATCH] use blocking pool_allocate in pdu_queue --- lib/src/common/pdu_queue.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/common/pdu_queue.cc b/lib/src/common/pdu_queue.cc index 4a45f0721..87e6c84e9 100644 --- a/lib/src/common/pdu_queue.cc +++ b/lib/src/common/pdu_queue.cc @@ -48,7 +48,7 @@ uint8_t* pdu_queue::request(uint32_t len) fprintf(stderr, "Error request buffer of invalid size %d. Max bytes %d\n", len, MAX_PDU_LEN); return NULL; } - pdu_t *pdu = pool.allocate("pdu_queue::request"); + pdu_t* pdu = pool.allocate("pdu_queue::request", true); if (!pdu) { if (log_h) { log_h->error("Not enough buffers for MAC PDU\n");