mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
watch_fd also requires thread->fdlock[lockid] to be held
This commit is contained in:
parent
e923e62f6c
commit
22f499cdc4
@ -890,7 +890,6 @@ wakeup_socket(isc__socketthread_t *thread, int fd, int msg) {
|
|||||||
UNLOCK(&thread->fdlock[lockid]);
|
UNLOCK(&thread->fdlock[lockid]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
UNLOCK(&thread->fdlock[lockid]);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set requested bit.
|
* Set requested bit.
|
||||||
@ -907,6 +906,7 @@ wakeup_socket(isc__socketthread_t *thread, int fd, int msg) {
|
|||||||
"failed to start watching FD (%d): %s", fd,
|
"failed to start watching FD (%d): %s", fd,
|
||||||
isc_result_totext(result));
|
isc_result_totext(result));
|
||||||
}
|
}
|
||||||
|
UNLOCK(&thread->fdlock[lockid]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user