mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
When an NTA already exists for a name, the old code retrieved and reused the existing NTA object, then reset its timer via settimer(). This is incorrect because isc_timer_start() and isc_timer_stop() require the timer to be manipulated from its owning loop (enforced by REQUIRE(timer->loop == isc_loop()) in lib/isc/timer.c), and the caller may be running on a different loop than the one that created the original NTA. Instead, delete the old NTA (shutting down its timer on the correct loop) and insert a fresh one that is owned by the current loop. |
||
|---|---|---|
| .. | ||
| dns | ||
| isc | ||
| isccc | ||
| isccfg | ||
| ns | ||
| .gitignore | ||
| Makefile.am | ||