]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix for TCP
authorWitold Kręcicki <wpk@isc.org>
Thu, 4 Oct 2018 14:32:28 +0000 (14:32 +0000)
committerWitold Kręcicki <wpk@isc.org>
Wed, 24 Oct 2018 07:10:20 +0000 (07:10 +0000)
lib/isc/unix/socket.c

index 74ec5f6ed8910e452a6f72ac1c89b21ba1b4a355..0f3bd195e1eaed48f5c9ed602f0d81dea460e087 100644 (file)
@@ -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]);