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.
This commit is contained in:
Robert Watson 2004-09-05 17:27:54 +00:00
parent d363819bdf
commit 690be704f3

View File

@ -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);
}