]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
- A reference overleak in DHCPv6 shared network processing was repaired.
authorDavid Hankins <dhankins@isc.org>
Tue, 4 Dec 2007 21:00:39 +0000 (21:00 +0000)
committerDavid Hankins <dhankins@isc.org>
Tue, 4 Dec 2007 21:00:39 +0000 (21:00 +0000)
  [ISC-Bugs #17337]

RELNOTES
server/dhcpv6.c

index 914db2a357ee4d1d07bfa10d34030cfa60bed096..311154db1e0fe1f1d6d2b0b6233eafd3fa451e4b 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -88,6 +88,8 @@ suggested fixes to <dhcp-users@isc.org>.
 - A bug was fixed that caused the DHCPv6 ORO option to be corrupted with
   seemingly random values.
 
+- A reference overleak in DHCPv6 shared network processing was repaired.
+
                        Changes since 4.0.0b2
 
 - Clarified error message when lease limit exceeded
index ca4a495497db694ffb4b979d288da158fd816e48..ac59b284863402dab5d02c48f73c79ec05ae317e 100644 (file)
@@ -947,7 +947,6 @@ pick_v6_address(struct iaaddr **addr, struct shared_network *shared_network,
         * No pools, we're done.
         */
        if (shared_network->ipv6_pools == NULL) {
-               shared_network_dereference(&shared_network, MDL);
                log_debug("Unable to pick client address: "
                          "no IPv6 pools on this shared network");
                return ISC_R_NORESOURCES;
@@ -979,7 +978,6 @@ pick_v6_address(struct iaaddr **addr, struct shared_network *shared_network,
                        }
                        shared_network->last_ipv6_pool = i;
 
-                       shared_network_dereference(&shared_network, MDL);
                        log_debug("Picking pool address %s",
                                  inet_ntop(AF_INET6, &((*addr)->addr),
                                            tmp_buf, sizeof(tmp_buf)));