diff options
Diffstat (limited to 'bind-96-dyndb.patch')
-rw-r--r-- | bind-96-dyndb.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/bind-96-dyndb.patch b/bind-96-dyndb.patch index 211b861..94bf019 100644 --- a/bind-96-dyndb.patch +++ b/bind-96-dyndb.patch @@ -156,20 +156,6 @@ diff -up bind-9.8.0-P4/bin/named/server.c.dyndb bind-9.8.0-P4/bin/named/server.c /* * Parse the global default pseudo-config file. */ -@@ -5542,6 +5642,13 @@ loadconfig(ns_server_t *server) { - static isc_result_t - reload(ns_server_t *server) { - isc_result_t result; -+ -+ /* Ensure there is no other access to the server */ -+ result = isc_task_beginexclusive(server->task); -+ RUNTIME_CHECK(result == ISC_R_SUCCESS); -+ dns_dynamic_db_cleanup(ISC_FALSE); -+ isc_task_endexclusive(server->task); -+ - CHECK(loadconfig(server)); - - result = load_zones(server, ISC_FALSE); diff -up bind-9.8.0-P4/lib/dns/dynamic_db.c.dyndb bind-9.8.0-P4/lib/dns/dynamic_db.c --- bind-9.8.0-P4/lib/dns/dynamic_db.c.dyndb 2011-07-26 15:36:04.047778520 +0200 +++ bind-9.8.0-P4/lib/dns/dynamic_db.c 2011-07-26 15:36:04.047778520 +0200 |