CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2014/11/03 21:03:10
Modified files: sbin/dhclient : dhclient.c Log message: Of the 14 occurances of free_client_lease() only 2 deal with leases that might be in the client->leases TAILQ. So don't traverse said TAILQ in free_client_lease() trying see if the lease should be TAILQ_REMOVE()'d. Instead use TAILQ_REMOVE() in the two places (one of which is dubious) where it might be relevant. Be careful not to TAILQ_REMOVE() a static lease.