From d8beb8f72bea3807fa2992f5acc45c7581379094 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 5 Sep 2004 17:27:54 +0000 Subject: Call callout_init() on nd6_slowtimo_ch before setting it going; otherwise, the flags field will be improperly initialized resulting in inconsistent operation (sometimes with Giant, sometimes without, et al). RELENG_5 candidate. --- sys/netinet6/nd6.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/netinet6') diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index 66b75ec..2461fc8 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -134,6 +134,7 @@ nd6_init() nd6_init_done = 1; /* start timer */ + callout_init(&nd6_slowtimo_ch, 0); callout_reset(&nd6_slowtimo_ch, ND6_SLOWTIMER_INTERVAL * hz, nd6_slowtimo, NULL); } -- cgit v1.1