From 7e83c6df94ade9f8d745fa6b31cd10d7d195ab0c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 18 May 2021 16:34:52 +1000 Subject: [PATCH] initialise worker->cond_prio --- lib/isc/netmgr/netmgr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/isc/netmgr/netmgr.c b/lib/isc/netmgr/netmgr.c index f9affb2c04..2662b22050 100644 --- a/lib/isc/netmgr/netmgr.c +++ b/lib/isc/netmgr/netmgr.c @@ -323,6 +323,7 @@ isc__netmgr_create(isc_mem_t *mctx, uint32_t workers, isc_nm_t **netmgrp) { RUNTIME_CHECK(r == 0); isc_mutex_init(&worker->lock); + isc_condition_init(&worker->cond_prio); for (size_t type = 0; type < NETIEVENT_MAX; type++) { worker->ievents[type] = isc_queue_new(mgr->mctx, 128);