[opendnssec/f17] added patches

Paul Wouters pwouters at fedoraproject.org
Thu Sep 27 02:32:27 UTC 2012


commit 0985af8eebc1ca7f60cb245966e71211cc3c2103
Author: Paul Wouters <pwouters at redhat.com>
Date:   Wed Sep 26 22:31:32 2012 -0400

    added patches

 opendnssec-1.4.0a3-aggressive-retry.patch |   15 +++++++++++++++
 opendnssec-1.4.0a3-nsec3param.patch       |   12 ++++++++++++
 2 files changed, 27 insertions(+), 0 deletions(-)
---
diff --git a/opendnssec-1.4.0a3-aggressive-retry.patch b/opendnssec-1.4.0a3-aggressive-retry.patch
new file mode 100644
index 0000000..b45a2fc
--- /dev/null
+++ b/opendnssec-1.4.0a3-aggressive-retry.patch
@@ -0,0 +1,15 @@
+diff -Naur opendnssec-1.4.0a3-orig/signer/src/daemon/worker.c opendnssec-1.4.0a3/signer/src/daemon/worker.c
+--- opendnssec-1.4.0a3-orig/signer/src/daemon/worker.c	2012-08-02 16:57:01.000000000 -0400
++++ opendnssec-1.4.0a3/signer/src/daemon/worker.c	2012-08-20 15:41:34.665175565 -0400
+@@ -173,7 +173,11 @@
+          * lets take a small break to not hog CPU.
+          */
+         if (status == ODS_STATUS_UNCHANGED) {
++#if 0
+             worker_wait_timeout_locked(&q->q_lock, &q->q_nonfull, 60);
++#else
++            worker_wait_timeout_locked(&q->q_lock, &q->q_nonfull, 5);
++#endif
+         }
+         lock_basic_unlock(&q->q_lock);
+     }
diff --git a/opendnssec-1.4.0a3-nsec3param.patch b/opendnssec-1.4.0a3-nsec3param.patch
new file mode 100644
index 0000000..7dd9130
--- /dev/null
+++ b/opendnssec-1.4.0a3-nsec3param.patch
@@ -0,0 +1,12 @@
+diff -Naur opendnssec-1.4.0a3-orig/signer/src/signer/zone.c opendnssec-1.4.0a3/signer/src/signer/zone.c
+--- opendnssec-1.4.0a3-orig/signer/src/signer/zone.c	2012-08-06 06:52:03.000000000 -0400
++++ opendnssec-1.4.0a3/signer/src/signer/zone.c	2012-09-12 17:00:01.813426466 -0400
+@@ -355,7 +355,7 @@
+             return ODS_STATUS_MALLOC_ERR;
+         }
+         ldns_rr_set_class(rr, zone->klass);
+-        ldns_rr_set_ttl(rr, zone->default_ttl);
++        ldns_rr_set_ttl(rr, 0); /* special case */
+         ldns_rr_set_owner(rr, ldns_rdf_clone(zone->apex));
+         ldns_nsec3_add_param_rdfs(rr,
+             zone->signconf->nsec3params->algorithm, 0,


More information about the scm-commits mailing list