Max Laier 69fb23b73d Implement the check I was talking about in the previous message already.
Introduce domain_init_status to keep track of the init status of the domains
list (surprise). 0 = uninitialized, 1 = initialized/unpopulated, 2 =
initialized/done. Higher values can be used to support late addition of
domains which right now "works", but is potential dangerous. I choose to
only give a warning when doing so.

Use domain_init_status with if_attachdomain[1]() to ensure that we have a
complete domains list when we init the if_afdata array. Store the current
value of domain_init_status in if_afdata_initialized. This way we can update
if_afdata after a new protocol has been added (once that is allowed).

Submitted by:	se (with changes)
Reviewed by:	julian, glebius, se
PR:		kern/73321	(partly)
2004-11-30 22:38:37 +00:00
..
2004-10-05 19:28:52 +00:00
2004-06-14 08:17:51 +00:00
2004-04-25 09:24:52 +00:00
2004-08-05 08:12:46 +00:00
2004-03-22 16:04:43 +00:00
2004-11-07 14:36:47 +00:00
2004-04-21 15:27:36 +00:00