4f240aff01
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) |
||
---|---|---|
.. | ||
ng_btsocket_hci_raw.c | ||
ng_btsocket_l2cap_raw.c | ||
ng_btsocket_l2cap.c | ||
ng_btsocket_rfcomm.c | ||
ng_btsocket.c | ||
TODO |