2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Don't free udp recv buffer if UV_UDP_MMSG_CHUNK is set

This commit is contained in:
Witold Kręcicki
2020-04-29 15:19:32 +02:00
parent d5356a40ff
commit 83049ceabf
2 changed files with 12 additions and 8 deletions

View File

@@ -996,7 +996,7 @@ isc__nm_free_uvbuf(isc_nmsocket_t *sock, const uv_buf_t *buf) {
if (buf->base > worker->recvbuf &&
buf->base <= worker->recvbuf + ISC_NETMGR_RECVBUF_SIZE)
{
/* Can happen in case of recvmmsg */
/* Can happen in case of out-of-order recvmmsg in libuv1.36 */
return;
}
REQUIRE(buf->base == worker->recvbuf);