Commit 6b797e44 authored by Thomas Markwalder's avatar Thomas Markwalder
Browse files

[master] find_lease() now ACKs reclaimed abandoned addresses

    Merges in rt41815a.
parent dd3373f4
......@@ -4562,6 +4562,7 @@ int find_lease (struct lease **lp,
#if defined (DEBUG_FIND_LEASE)
log_info ("not choosing requested address (!).");
#endif
lease_dereference (&ip_lease, MDL);
} else {
#if defined (DEBUG_FIND_LEASE)
log_info ("choosing lease on requested address.");
......@@ -4570,7 +4571,6 @@ int find_lease (struct lease **lp,
if (lease -> host)
host_dereference (&lease -> host, MDL);
}
lease_dereference (&ip_lease, MDL);
}
/* If we got a lease that matched the client identifier, we may want
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment