freebsd-src/sys/net
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
..
bpf.c Don't recurse the BPF descriptor lock during the BIOCSDLT operation 2004-10-06 04:25:37 +00:00
bpf.h
bpf_compat.h
bpf_filter.c
bpfdesc.h
bridge.c Fix packet flow when both ng_ether(4) and bridge(4) are in use: 2004-10-12 10:33:42 +00:00
bridge.h Fix packet flow when both ng_ether(4) and bridge(4) are in use: 2004-10-12 10:33:42 +00:00
bsd_comp.c
ethernet.h
fddi.h
firewire.h
if.c Implement the check I was talking about in the previous message already. 2004-11-30 22:38:37 +00:00
if.h sync comment on IFF_OACTIVE with reality.. IFF_OACTIVE is set when the 2004-11-17 18:32:44 +00:00
if_arc.h
if_arcsubr.c
if_arp.h
if_atm.h
if_atmsubr.c
if_clone.c
if_clone.h
if_disc.c
if_dl.h
if_ef.c
if_ethersubr.c Fix packet flow when both ng_ether(4) and bridge(4) are in use: 2004-10-12 10:33:42 +00:00
if_faith.c
if_fddisubr.c
if_fwsubr.c
if_gif.c
if_gif.h
if_gre.c
if_gre.h
if_iso88025subr.c
if_llc.h
if_loop.c
if_media.c
if_media.h
if_mib.c
if_mib.h
if_ppp.c Don't abuse tp->t_sc, as it is now used by tty drivers. 2004-11-07 14:35:53 +00:00
if_ppp.h
if_pppvar.h Don't abuse tp->t_sc, as it is now used by tty drivers. 2004-11-07 14:35:53 +00:00
if_sl.c Don't abuse tp->t_sc in sl(4) either. 2004-11-07 14:36:47 +00:00
if_slvar.h
if_sppp.h
if_spppsubr.c
if_stf.c
if_stf.h
if_tap.c Utilize m_uiotombuf() in device write method, instead of home-grown 2004-10-31 17:39:46 +00:00
if_tap.h
if_tapvar.h
if_tun.c Utilize m_uiotombuf() in device write method, instead of home-grown 2004-10-31 17:39:46 +00:00
if_tun.h
if_types.h
if_var.h Remove the #if 0 wrapping around !ALTQ stuff that can't be used due to ABI 2004-11-09 21:29:28 +00:00
if_vlan.c
if_vlan_var.h
iso88025.h
net_osdep.h Since net/net_osdep.c contained only one function that could be 2004-10-08 00:24:30 +00:00
netisr.c Correctly unregister a netisr by clearing the ni->ni_queue field to NULL as 2004-10-11 20:01:43 +00:00
netisr.h
pfil.c Change pfil starvation prevention from fail-open to fail-close. 2004-10-08 12:07:20 +00:00
pfil.h
pfkeyv2.h
ppp_comp.h
ppp_deflate.c
ppp_defs.h
ppp_tty.c Don't abuse tp->t_sc, as it is now used by tty drivers. 2004-11-07 14:35:53 +00:00
radix.c
radix.h
raw_cb.c Push acquisition of the accept mutex out of sofree() into the caller 2004-10-18 22:19:43 +00:00
raw_cb.h
raw_usrreq.c Initialize struct pr_userreqs in new/sparse style and fill in common 2004-11-08 14:44:54 +00:00
route.c
route.h Add 802.11-specific events that are dispatched through the routing socket. 2004-10-05 19:48:33 +00:00
rtsock.c Initialize struct pr_userreqs in new/sparse style and fill in common 2004-11-08 14:44:54 +00:00
slcompress.c
slcompress.h
slip.h
zlib.c
zlib.h