opnsense-src/sys/netgraph/bluetooth
Max Laier 4f240aff01 Move ng_socket and ng_btsocket initialization to SI_SUB_PROTO_DOMAIN as they
call net_add_domain(). Calling this function too early (or late) breaks
assertations about the global domains list.
Actually it should be forbidden to call net_add_domain() outside of
SI_SUB_PROTO_DOMAIN completely as there are many places where we traverse
the domains list unprotected, but for now we allow late calls (mostly to
support netgraph). In order to really fix this we have to lock the domains
list in all places or find another way to ensure that we can safely walk the
list while another thread might be adding a new domain.

Spotted by:	se
Reviewed by:	julian, glebius
PR:		kern/73321	(partly)
2004-11-30 22:28:50 +00:00
..
common add missing #include <sys/module.h> 2004-05-30 20:27:19 +00:00
drivers Correct typo. Return ENXIO instead of EIO. 2004-11-19 18:54:54 +00:00
hci Fix kernel build (caused by recent ng_{un}timeout API change) 2004-11-03 18:00:49 +00:00
include Align netgraph message fields ready for 64-bit (and 128 bit :-) machines. 2004-08-20 01:24:23 +00:00
l2cap Fix kernel build (caused by recent ng_{un}timeout API change) 2004-11-03 18:00:49 +00:00
socket Move ng_socket and ng_btsocket initialization to SI_SUB_PROTO_DOMAIN as they 2004-11-30 22:28:50 +00:00