Skip to content

Fix task timing race in setnsec3param()

Ondřej Surý requested to merge 2636-timing-race-in-setnsec3param-task into main

When setnsec3param() is schedule from zone_postload() there's no guarantee that zone->db is not NULL yet. Thus when the setnsec3param() is called, we need to check for zone->db existence and reschedule the task, because calling rss_post() on a zone with empty .db ends up with no-op (the function just returns).

Closes #2636 (closed)

Edited by Ondřej Surý

Merge request reports