freebsd-dev/sys/contrib/altq/altq
Nate Lawson f1172c58e5 Fix a bug where the callout might not be initialized before being used.
Rev 1.9 introduced another path where machclk_freq would be initialized
before the rest of setup was done (i.e. initializing the callout).  Make
the one-time initialization a separate function and make init_machclk()
able to be called multiple times, any time.  We depend on tsc_freq first
being updated from the highest priority eventhandler, thus we run last
and call init_machclk() to set machclk_freq.  Also, don't initialize
static variables to 0.

Tested by:	Eygene Ryabinkin
Approved by:	re
2007-07-12 17:00:51 +00:00
..
altq_cbq.c Link pf 4.1 to the build: 2007-07-03 12:46:08 +00:00
altq_cbq.h Import parts of the ALTQ framework from latest KAME snapshot (which is up to 2004-06-12 00:10:21 +00:00
altq_cdnr.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
altq_cdnr.h Import parts of the ALTQ framework from latest KAME snapshot (which is up to 2004-06-12 00:10:21 +00:00
altq_classq.h Import parts of the ALTQ framework from latest KAME snapshot (which is up to 2004-06-12 00:10:21 +00:00
altq_hfsc.c Link pf 4.1 to the build: 2007-07-03 12:46:08 +00:00
altq_hfsc.h Import parts of the ALTQ framework from latest KAME snapshot (which is up to 2004-06-12 00:10:21 +00:00
altq_priq.c Link pf 4.1 to the build: 2007-07-03 12:46:08 +00:00
altq_priq.h Import parts of the ALTQ framework from latest KAME snapshot (which is up to 2004-06-12 00:10:21 +00:00
altq_red.c Link pf 4.1 to the build: 2007-07-03 12:46:08 +00:00
altq_red.h Import parts of the ALTQ framework from latest KAME snapshot (which is up to 2004-06-12 00:10:21 +00:00
altq_rio.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
altq_rio.h Import parts of the ALTQ framework from latest KAME snapshot (which is up to 2004-06-12 00:10:21 +00:00
altq_rmclass_debug.h Import parts of the ALTQ framework from latest KAME snapshot (which is up to 2004-06-12 00:10:21 +00:00
altq_rmclass.c FreeBSD-ify ALTQ: 2004-06-12 00:57:20 +00:00
altq_rmclass.h Import parts of the ALTQ framework from latest KAME snapshot (which is up to 2004-06-12 00:10:21 +00:00
altq_subr.c Fix a bug where the callout might not be initialized before being used. 2007-07-12 17:00:51 +00:00
altq_var.h Don't use the static CALLOUT_INITIALIZER for __FreeBSD_version >= 600000. It 2005-02-21 17:11:09 +00:00
altq.h FreeBSD-ify ALTQ: 2004-06-12 00:57:20 +00:00
altqconf.h Import parts of the ALTQ framework from latest KAME snapshot (which is up to 2004-06-12 00:10:21 +00:00
if_altq.h Transform tbr_dequeue into a function pointer in order to build drivers with 2004-06-15 01:45:19 +00:00