Commit 7128c128 authored by Jan Včelák's avatar Jan Včelák 🚀

DNSSEC: remove RCU locking in signzone command handling

The locking is already made in 'remote_rdata_apply'.
parent 430864b1
......@@ -180,9 +180,7 @@ static int remote_zone_sign(server_t *server, const knot_zone_t *zone)
uint32_t expires_at = 0;
zones_cancel_dnssec((knot_zone_t *)zone);
rcu_read_lock();
zones_dnssec_sign((knot_zone_t *)zone, true, &expires_at);
rcu_read_unlock();
zones_schedule_dnssec((knot_zone_t *)zone, expires_at);
return KNOT_EOK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment