Lawrence Stewart
14f57a8b02
cc_init() should only be run once on system boot, but with VIMAGE kernels it
...
runs on boot and each time a vnet jail is created. Running cc_init() multiple
times results in a panic when attempting to initialise the cc_list lock again,
and so r215166 effectively broke the use of vnet jails.
Switch to using a SYSINIT to run cc_init() on boot. CC algorithm modules loaded
on boot register in the same SI_SUB_PROTO_IFATTACHDOMAIN category as is used in
this patch, so cc_init() is run at SI_ORDER_FIRST to ensure the framework is
initialised before module registration is attempted.
Sponsored by: FreeBSD Foundation
Reported and tested by: Mikolaj Golub <to.my.trociny at gmail com>
MFC after: 11 weeks
X-MFC with: r215166
2010-11-16 07:09:05 +00:00
..
2010-11-16 07:09:05 +00:00
2010-11-14 20:38:11 +00:00
2010-11-12 00:44:18 +00:00
2010-11-16 07:09:05 +00:00
2010-04-29 11:52:42 +00:00
2010-11-14 20:38:11 +00:00
2010-11-14 20:38:11 +00:00
2010-10-24 22:02:36 +00:00
2010-04-29 11:52:42 +00:00
2010-11-14 20:38:11 +00:00
2010-08-11 00:51:50 +00:00
2010-11-14 20:38:11 +00:00
2010-11-14 20:38:11 +00:00
2010-09-24 15:01:45 +00:00
2010-09-20 12:23:10 +00:00
2010-08-11 20:18:19 +00:00
2010-11-14 20:38:11 +00:00
2010-04-19 16:17:30 +00:00
2010-11-14 20:38:11 +00:00
2010-11-12 13:05:17 +00:00
2010-11-14 20:38:11 +00:00
2010-04-29 11:52:42 +00:00
2010-11-14 20:38:11 +00:00
2010-11-14 20:38:11 +00:00
2010-11-14 20:38:11 +00:00
2010-06-02 15:44:43 +00:00
2010-10-14 12:32:49 +00:00
2010-09-24 14:38:54 +00:00
2010-09-02 17:43:44 +00:00
2010-06-02 15:44:43 +00:00
2010-09-12 18:04:47 +00:00
2010-09-15 23:10:45 +00:00
2010-09-15 23:10:45 +00:00
2010-09-19 11:42:16 +00:00
2010-09-15 21:19:54 +00:00
2010-05-16 17:03:56 +00:00
2010-09-17 18:53:07 +00:00
2010-09-17 16:20:29 +00:00
2010-11-14 14:37:20 +00:00
2010-08-29 18:50:30 +00:00
2010-11-07 14:39:40 +00:00
2010-11-07 14:39:40 +00:00
2010-06-06 20:34:17 +00:00
2010-11-09 10:59:09 +00:00
2010-11-14 16:44:18 +00:00
2010-09-15 23:10:45 +00:00
2010-11-13 12:52:44 +00:00
2010-08-28 17:59:51 +00:00
2010-08-28 17:59:51 +00:00
2010-07-29 11:37:04 +00:00
2010-09-17 18:53:07 +00:00
2010-09-19 11:57:21 +00:00
2010-11-07 18:50:35 +00:00
2010-11-07 17:50:56 +00:00
2010-11-09 10:59:09 +00:00
2010-11-07 18:50:35 +00:00
2010-11-09 10:59:09 +00:00
2010-11-12 20:46:33 +00:00
2010-11-07 18:50:35 +00:00
2010-11-14 20:38:11 +00:00
2010-11-14 20:38:11 +00:00
2010-11-12 06:41:55 +00:00
2010-11-12 06:41:55 +00:00
2010-11-14 20:38:11 +00:00
2010-11-12 06:41:55 +00:00
2010-11-16 07:09:05 +00:00
2010-11-14 20:38:11 +00:00
2010-11-12 06:41:55 +00:00
2010-09-16 21:06:45 +00:00
2010-11-14 20:38:11 +00:00
2010-11-12 06:41:55 +00:00
2010-11-12 06:41:55 +00:00
2010-09-16 21:06:45 +00:00
2010-11-14 20:38:11 +00:00
2010-04-29 11:52:42 +00:00