mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
3044. [bug] Hold the socket manager lock while freeing the socket.
[RT #23333]
This commit is contained in:
parent
eb6d3717e4
commit
d3e3d7846d
3
CHANGES
3
CHANGES
@ -1,3 +1,6 @@
|
|||||||
|
3044. [bug] Hold the socket manager lock while freeing the socket.
|
||||||
|
[RT #23333]
|
||||||
|
|
||||||
3043. [test] Merged in the NetBSD ATF test framework (currently
|
3043. [test] Merged in the NetBSD ATF test framework (currently
|
||||||
version 0.12) for development of future unit tests.
|
version 0.12) for development of future unit tests.
|
||||||
Use configure --with-atf to build ATF internally
|
Use configure --with-atf to build ATF internally
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: socket.c,v 1.336 2011/02/18 04:19:05 marka Exp $ */
|
/* $Id: socket.c,v 1.337 2011/02/28 12:48:30 marka Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@ -1997,9 +1997,10 @@ destroy(isc__socket_t **sockp) {
|
|||||||
SIGNAL(&manager->shutdown_ok);
|
SIGNAL(&manager->shutdown_ok);
|
||||||
#endif /* USE_WATCHER_THREAD */
|
#endif /* USE_WATCHER_THREAD */
|
||||||
|
|
||||||
UNLOCK(&manager->lock);
|
/* can't unlock manager as its memory context is still used */
|
||||||
|
|
||||||
free_socket(sockp);
|
free_socket(sockp);
|
||||||
|
|
||||||
|
UNLOCK(&manager->lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
static isc_result_t
|
static isc_result_t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user