From 51d963e7dbd34c579a242161ad1eecccd7fdc529 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 8 Dec 2016 17:59:40 +0000 Subject: [PATCH] Control flow: Document restrictions on globalsystemfailure Signed-off-by: Ian Jackson --- src/event.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/event.c b/src/event.c index 95386f4..81766c5 100644 --- a/src/event.c +++ b/src/event.c @@ -624,6 +624,9 @@ xit: /* General helpful functions. */ void adns_globalsystemfailure(adns_state ads) { + /* Must not be called by adns during actual processing of a + * particular query, since it reenters adns. Only safe to call in + * situations where it would be safe to call adns_returning. */ adns__consistency(ads,0,cc_entex); for (;;) { -- 2.30.2