Commit 8f8561a4 authored by Marek Vavrusa's avatar Marek Vavrusa

Query processing is already RCU guarded, removed extra lock for UPDATE.

parent 8326f549
......@@ -67,14 +67,12 @@ static int update_forward(struct query_data *qdata)
static int update_process(knot_pkt_t *resp, struct query_data *qdata)
/*! \todo Reusing the API for compatibility reasons. */
knot_rcode_t rcode = qdata->rcode;
int ret = zones_process_update_auth((knot_zone_t *)qdata->zone, qdata->query,
qdata->rcode = rcode;
return ret;
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