Looking for an old patch
Worsley, Tim
worsley at amazon.com
Thu Oct 2 23:58:58 UTC 2014
Many years ago, I ran across a patch that replaces the linked list structure for ISC DHCP lease pools with a binary tree. Looking at the latest source code, I still see:
(mdb.c / supersede_lease)
/* Remove the lease from its current place in its current
timer sequence. */
/* XXX this is horrid. */
prev = (struct lease *)0;
for (lp = *lq; lp; lp = lp -> next) {
if (lp == comp)
break;
prev = lp;
}
So it never made it back into the mainline, which is fine. Can anyone point me to it? Google has let me down.
Thanks,
--Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-hackers/attachments/20141002/d441ab53/attachment.html>
More information about the dhcp-hackers
mailing list