aboutsummaryrefslogtreecommitdiff
path: root/resolv/tst-resolv-txnid-collision.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/tst-resolv-txnid-collision.c')
-rw-r--r--resolv/tst-resolv-txnid-collision.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/resolv/tst-resolv-txnid-collision.c b/resolv/tst-resolv-txnid-collision.c
index 611d373..189b76f 100644
--- a/resolv/tst-resolv-txnid-collision.c
+++ b/resolv/tst-resolv-txnid-collision.c
@@ -309,6 +309,11 @@ do_test (void)
((struct resolv_redirect_config)
{
.response_callback = response,
+
+ /* The response callback use global state (the previous_*
+ variables), and query processing must therefore be
+ serialized. */
+ .single_thread_udp = true,
});
for (int rcode = 0; rcode <= 5; ++rcode)