Skip to content
Snippets Groups Projects
Commit b8bfaab9 authored by Libor Peltan's avatar Libor Peltan Committed by Daniel Salzman
Browse files

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

...until out-buffers are implemented
...to avoid XDP buffers overrun on large answer
parent de6f3f16
Branches
Tags
1 merge request!1300Basic implementation of TCP over XDP for Knot server
......@@ -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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment