Re: Loading ng_socket at runtime?

2009-07-30 Thread Robert Watson
On Wed, 29 Jul 2009, Matthew Fleming wrote: I'm doing a migration from releng/6.1 to stable/7, and one of the many new things is that I get a warning when doing things with ng_socket that didn't used to happen. WARNING: attempt to net_add_domain(netgraph) after domainfinalize() I've

Re: Loading ng_socket at runtime?

2009-07-30 Thread Max Laier
On Thursday 30 July 2009 11:39:00 Robert Watson wrote: On Wed, 29 Jul 2009, Matthew Fleming wrote: I'm doing a migration from releng/6.1 to stable/7, and one of the many new things is that I get a warning when doing things with ng_socket that didn't used to happen. WARNING: attempt to

Loading ng_socket at runtime?

2009-07-29 Thread Matthew Fleming
I'm doing a migration from releng/6.1 to stable/7, and one of the many new things is that I get a warning when doing things with ng_socket that didn't used to happen. WARNING: attempt to net_add_domain(netgraph) after domainfinalize() The MOD_LOAD code in ng_socket.c is doing a net_add_domain in

Re: Loading ng_socket at runtime?

2009-07-29 Thread Daniel O'Connor
On Thu, 30 Jul 2009, Matthew Fleming wrote: So, what's the right thing to do?  - ignore the warning (usually a bad idea...)  - load ng_socket on boot  - compile ng_socket.c into the kernel since it would be loaded on boot anyways I go for option 1 on -current with bluetooth and it seems to