2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-02 23:55:27 +00:00

Remove the extra decstats on STATID_ACTIVE for children sockets

This commit is contained in:
Ondřej Surý
2020-03-26 10:40:35 +01:00
committed by Ondřej Surý
parent 4ffd4cd4f6
commit 26842ac25c

View File

@@ -718,11 +718,6 @@ nmsocket_cleanup(isc_nmsocket_t *sock, bool dofree) {
for (int i = 0; i < sock->nchildren; i++) {
if (!atomic_load(&sock->children[i].destroying)) {
nmsocket_cleanup(&sock->children[i], false);
if (sock->statsindex != NULL) {
isc__nm_decstats(
sock->mgr,
sock->statsindex[STATID_ACTIVE]);
}
}
}