From: Witold Kręcicki Date: Thu, 4 Oct 2018 14:32:28 +0000 (+0000) Subject: Fix for TCP X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=243da5c4072a9582d98cb23a3b82d3b7eef8fc2b;p=thirdparty%2Fbind9.git Fix for TCP --- diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index 74ec5f6ed89..0f3bd195e1e 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -3174,10 +3174,10 @@ internal_accept(isc__socket_t *sock) { } LOCK(&nthread->fdlock[lockid]); - thread->fds[fd] = NEWCONNSOCK(dev); - thread->fdstate[fd] = MANAGED; + nthread->fds[fd] = NEWCONNSOCK(dev); + nthread->fdstate[fd] = MANAGED; #if defined(USE_EPOLL) - thread->epoll_events[fd] = 0; + nthread->epoll_events[fd] = 0; #endif UNLOCK(&nthread->fdlock[lockid]);