MEDIUM: thread/dns: Make DNS thread-safe
diff --git a/include/common/hathreads.h b/include/common/hathreads.h
index 39d8220..242bece 100644
--- a/include/common/hathreads.h
+++ b/include/common/hathreads.h
@@ -168,6 +168,7 @@
LUA_LOCK,
NOTIF_LOCK,
SPOE_APPLET_LOCK,
+ DNS_LOCK,
LOCK_LABELS
};
struct lock_stat {
@@ -256,7 +257,7 @@
"UPDATED_SERVERS", "LBPRM", "SIGNALS", "STK_TABLE", "STK_SESS",
"APPLETS", "PEER", "BUF_WQ", "STREAMS", "SSL", "SSL_GEN_CERTS",
"PATREF", "PATEXP", "PATLRU", "VARS", "COMP_POOL", "LUA",
- "NOTIF", "SPOE_APPLET" };
+ "NOTIF", "SPOE_APPLET", "DNS" };
int lbl;
for (lbl = 0; lbl < LOCK_LABELS; lbl++) {