From: Ondřej Surý Date: Tue, 10 Dec 2019 09:46:49 +0000 (+0100) Subject: Correct the DbC check order in isc__nm_async_tcpchildstop() X-Git-Tag: v9.15.7~15^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3248de77855588d9aeb9d852b73ad31f8dc04e70;p=thirdparty%2Fbind9.git Correct the DbC check order in isc__nm_async_tcpchildstop() --- diff --git a/lib/isc/netmgr/tcp.c b/lib/isc/netmgr/tcp.c index e1bbeab48e2..d6ba3f4a999 100644 --- a/lib/isc/netmgr/tcp.c +++ b/lib/isc/netmgr/tcp.c @@ -567,8 +567,8 @@ isc__nm_async_tcpchildstop(isc__networker_t *worker, isc__netievent_t *ev0) { UNUSED(worker); - REQUIRE(isc_nm_tid() == sock->tid); REQUIRE(VALID_NMSOCK(sock)); + REQUIRE(isc_nm_tid() == sock->tid); REQUIRE(sock->type == isc_nm_tcpchildlistener); REQUIRE(sock->parent != NULL);