Skip to content
Snippets Groups Projects
Commit 1d1c0016 authored by Libor Peltan's avatar Libor Peltan
Browse files

nameserver: disable multi-message answers thru XDP...

...until out-buffers are implemented
...to avoid XDP buffers overrun on large answer
parent b6233ae2
No related branches found
No related tags found
No related merge requests found
Pipeline #83213 passed
This commit is part of merge request !1300. Comments created here will be created in the context of that merge request.
......@@ -191,6 +191,9 @@ int axfr_process_query(knot_pkt_t *pkt, knotd_qdata_t *qdata)
knot_strerror(ret));
return KNOT_STATE_FAIL;
}
} else if (qdata->params->xdp_msg != NULL) {
qdata->rcode = KNOT_RCODE_SERVFAIL;
return KNOT_STATE_FAIL;
}
/* Reserve space for TSIG. */
......
......@@ -283,6 +283,9 @@ int ixfr_process_query(knot_pkt_t *pkt, knotd_qdata_t *qdata)
knot_strerror(ret));
return KNOT_STATE_FAIL;
}
} else if (qdata->params->xdp_msg != NULL) {
qdata->rcode = KNOT_RCODE_SERVFAIL;
return KNOT_STATE_FAIL;
}
/* Reserve space for TSIG. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment