diff options
author | Adam Tkac <atkac@redhat.com> | 2011-08-03 15:43:08 +0200 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2011-08-03 15:43:08 +0200 |
commit | 6322cef147887302f853acb25b12dbb034102d7e (patch) | |
tree | a21b04d36c127c59a463a0ca8eead38bf90d5b7f /bind-96-dyndb.patch | |
parent | 3eb67c23c1113984301abaa8681f9fed715d54e2 (diff) | |
download | bind-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.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 |