summaryrefslogtreecommitdiffstats
path: root/bind-96-dyndb.patch
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2011-08-03 15:43:08 +0200
committerAdam Tkac <atkac@redhat.com>2011-08-03 15:43:08 +0200
commit6322cef147887302f853acb25b12dbb034102d7e (patch)
treea21b04d36c127c59a463a0ca8eead38bf90d5b7f /bind-96-dyndb.patch
parent3eb67c23c1113984301abaa8681f9fed715d54e2 (diff)
downloadbind-6322cef147887302f853acb25b12dbb034102d7e.tar.gz
bind-6322cef147887302f853acb25b12dbb034102d7e.tar.xz
bind-6322cef147887302f853acb25b12dbb034102d7e.zip
Improve patch for #725741
Signed-off-by: Adam Tkac <atkac@redhat.com>
Diffstat (limited to 'bind-96-dyndb.patch')
-rw-r--r--bind-96-dyndb.patch14
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