mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Remove read callback before detaching from inner socket in tcpdns
This commit is contained in:
@@ -494,6 +494,7 @@ static void
|
||||
tcpdns_close_direct(isc_nmsocket_t *sock) {
|
||||
REQUIRE(sock->tid == isc_nm_tid());
|
||||
if (sock->outer != NULL) {
|
||||
sock->outer->rcb.recv = NULL;
|
||||
isc_nmsocket_detach(&sock->outer);
|
||||
}
|
||||
/* We don't need atomics here, it's all in single network thread */
|
||||
|
Reference in New Issue
Block a user