Load times for Large Subnets

David W. Hankins David_Hankins at isc.org
Tue Oct 9 21:49:14 UTC 2007


On Tue, Oct 09, 2007 at 02:22:49PM -0700, Larry Apolonio wrote:
> Oct  9 14:20:57 dhcp-amd kernel: dhcpd[10365]: segfault at 
> 0000000000000000 rip 0000000000481427 rsp 00007fff15f5c9d0 error 4

Fabulous. :(

This is a case of the test software being written specifically for my
test harness environment.

Index: omapip/hash.c
===================================================================
RCS file: /proj/cvs/prod/DHCP/omapip/hash.c,v
retrieving revision 1.17
diff -u -r1.17 hash.c
--- omapip/hash.c	13 Jul 2007 06:43:42 -0000	1.17
+++ omapip/hash.c	9 Oct 2007 21:47:28 -0000
@@ -348,6 +348,9 @@
 	unsigned i;
 	struct hash_bucket *bp;
 
+	if (table == NULL)
+		return (unsigned char *) "(unused)";
+
 	if (table->hash_count == 0)
 		return (unsigned char *) "Invalid hash table.";

-- 
Ash bugud-gul durbatuluk agh burzum-ishi krimpatul.
Why settle for the lesser evil?	 https://secure.isc.org/store/t-shirt/
-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		     you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins


More information about the dhcp-users mailing list