]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Update to bind 9.7.0b3, remove work around for fdwatchpoke bug
authorShawn Routhier <sar@isc.org>
Fri, 20 Nov 2009 00:10:14 +0000 (00:10 +0000)
committerShawn Routhier <sar@isc.org>
Fri, 20 Nov 2009 00:10:14 +0000 (00:10 +0000)
RELNOTES
omapip/isclib.c
util/bind.sh

index 9e9d4388620b788b7289e45d37fee760d56cf6bd..d7174045a2930c40785426c8511b21f116bc2a89 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -13,19 +13,6 @@ Processing the DHCP to DNS server transactions in an asyncrhonous fashion.
 The DHCP server or client can now continue with it's processing while
 awaiting replies from the DNS server.
 
-As part of the changes to support asynchronous DNS the DHCP code was
-modified to use the current BIND libraries and a small number of changes
-were made to the BIND libraries to support DHCP.  There is a bug in one
-of these changes that can cause an exception in a DHCP server.  This bug
-requires either failover or omapi to be in use and a number of events
-(timeouts, packet reception, packet transmision) to happen within the same
-scheduling interval.  As a work around the number of events required to
-trigger this issue has been increased though this may affect the responsivness
-of the DNS code under load.  A fix is being developed but needs
-to go into a BIND release.  Note that the bug is in a part of the BIND
-libraries that is only used by the DHCP code and does NOT affect any
-other part of the BIND code.
-
 There are a number of DHCPv6 limitations and features missing in this
 release, which will be addressed in the future:
 
index 59bba1ffddabddf099ea912e7c01cf2c026db948..3225096d27fd658644e6a9e9affa667c2f63ed46 100644 (file)
@@ -127,16 +127,7 @@ dhcp_context_create(void) {
        if (result != ISC_R_SUCCESS)
                goto cleanup;
 
-       /*sar*/
-       /*
-        * We currently use a large number for quantum to get around
-        * an issue in the fdwatchpoke code that allows us to re-check
-        * a socket for reading or writing even if it already has a pending
-        * read or write.  This event causes an exception and stops the
-        * program.  When that code is fixed the quantum can be reduced.
-        */
-       result = isc_task_create(dhcp_gbl_ctx.taskmgr, 100,
-                                &dhcp_gbl_ctx.task);
+       result = isc_task_create(dhcp_gbl_ctx.taskmgr, 0, &dhcp_gbl_ctx.task);
        if (result != ISC_R_SUCCESS)
                goto cleanup;
 
index a9ee33d71a0d3f79e2595f3617b13675e13ad92e..57e6ca2db65bbd8aca26e03189a91643801e85df 100644 (file)
@@ -14,7 +14,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: bind.sh,v 1.5 2009/11/09 20:25:00 dhankins Exp $
+# $Id: bind.sh,v 1.6 2009/11/20 00:10:14 sar Exp $
 
 # Get the bind distribution for the libraries
 # This script is used to build the DHCP distribution and shouldn't be shipped
@@ -30,7 +30,7 @@ binddir=$topdir/bind
 case $# in 
     1)
        case "$1" in 
-       4.2.0a2|4.2.0a1|4.2.0) BINDTAG=v9_7_0b2 ;;
+       4.2.0a2|4.2.0a1|4.2.0) BINDTAG=v9_7_0b3 ;;
        *) echo "bind.sh: unsupported version: $1" >&2
           exit 1
           ;;