Commit 3c4b68af authored by Mark Andrews's avatar Mark Andrews

Break lock order loop by sending TAT in an event

The dotat() function has been changed to send the TAT
query asynchronously, so there's no lock order loop
because we initialize the data first and then we schedule
the TAT send to happen asynchronously.

This breaks following lock-order loops:

zone->lock (dns_zone_setviewcommit) while holding view->lock

keytable->lock (dns_keytable_find) while holding zone->lock

view->lock (dns_view_findzonecut) while holding keytable->lock
parent 2bb27e4a
Pipeline #52363 failed with stages
in 19 minutes and 31 seconds