Re: domain_add(xxx) after domainfinalize...

2014-08-03 Thread Adrian Chadd
On 3 August 2014 01:02, Svatopluk Kraus wrote: > > I agree that the warning is pointless stres for anyone but network domain > developer. And such developer knows if he/she is careful enough to ignore > it. However, I still remember time when I was starting with FreeBSD kernel > development. So

Re: domain_add(xxx) after domainfinalize...

2014-08-03 Thread Svatopluk Kraus
On Sat, Aug 2, 2014 at 10:01 PM, John-Mark Gurney wrote: > Svatopluk Kraus wrote this message on Sat, Aug 02, 2014 at 21:27 +0200: > > On Sat, Aug 2, 2014 at 8:32 PM, John-Mark Gurney > wrote: > > > > > Svatopluk Kraus wrote this message on Sat, Aug 02, 2014 at 15:20 +0200: > > > > Well, I did n

Re: domain_add(xxx) after domainfinalize...

2014-08-02 Thread John-Mark Gurney
Svatopluk Kraus wrote this message on Sat, Aug 02, 2014 at 21:27 +0200: > On Sat, Aug 2, 2014 at 8:32 PM, John-Mark Gurney wrote: > > > Svatopluk Kraus wrote this message on Sat, Aug 02, 2014 at 15:20 +0200: > > > Well, I did not look at network stack for long time, so the following > > > things

Re: domain_add(xxx) after domainfinalize...

2014-08-02 Thread Svatopluk Kraus
On Sat, Aug 2, 2014 at 8:32 PM, John-Mark Gurney wrote: > Svatopluk Kraus wrote this message on Sat, Aug 02, 2014 at 15:20 +0200: > > Well, I did not look at network stack for long time, so the following > > things could be obsolete now, but at least: > > > > (1) There is some room left in mbuf h

Re: domain_add(xxx) after domainfinalize...

2014-08-02 Thread John-Mark Gurney
Svatopluk Kraus wrote this message on Sat, Aug 02, 2014 at 15:20 +0200: > Well, I did not look at network stack for long time, so the following > things could be obsolete now, but at least: > > (1) There is some room left in mbuf header on its allocation, so protocols > (link) headers can be added

Re: domain_add(xxx) after domainfinalize...

2014-08-02 Thread Svatopluk Kraus
Well, I did not look at network stack for long time, so the following things could be obsolete now, but at least: (1) There is some room left in mbuf header on its allocation, so protocols (link) headers can be added in the front of data without need of reallocation or data copying. The size of th

Re: domain_add(xxx) after domainfinalize...

2014-08-01 Thread Adrian Chadd
On 1 August 2014 16:42, John-Mark Gurney wrote: > Adrian Chadd wrote this message on Fri, Aug 01, 2014 at 16:25 -0700: >> On 1 August 2014 15:55, Marko Zec wrote: >> > On Fri, 1 Aug 2014 15:42:30 -0700 >> > Adrian Chadd wrote: >> > >> >> I'd just make it a panic. :) >> > >> > Are you prepared t

Re: domain_add(xxx) after domainfinalize...

2014-08-01 Thread John-Mark Gurney
Adrian Chadd wrote this message on Fri, Aug 01, 2014 at 16:25 -0700: > On 1 August 2014 15:55, Marko Zec wrote: > > On Fri, 1 Aug 2014 15:42:30 -0700 > > Adrian Chadd wrote: > > > >> I'd just make it a panic. :) > > > > Are you prepared to say goodbye to kldloading netgraph at runtime? > > Well

Re: domain_add(xxx) after domainfinalize...

2014-08-01 Thread Adrian Chadd
On 1 August 2014 15:55, Marko Zec wrote: > On Fri, 1 Aug 2014 15:42:30 -0700 > Adrian Chadd wrote: > >> I'd just make it a panic. :) > > Are you prepared to say goodbye to kldloading netgraph at runtime? Well, why is it saying that? is there actually a problem? -a ___

Re: domain_add(xxx) after domainfinalize...

2014-08-01 Thread Marko Zec
On Fri, 1 Aug 2014 15:42:30 -0700 Adrian Chadd wrote: > I'd just make it a panic. :) Are you prepared to say goodbye to kldloading netgraph at runtime? Marko > > -a > > > On 1 August 2014 15:21, John-Mark Gurney wrote: > > Svatopluk Kraus wrote this message on Sat, Aug 02, 2014 at 00:05

Re: domain_add(xxx) after domainfinalize...

2014-08-01 Thread Adrian Chadd
I'd just make it a panic. :) -a On 1 August 2014 15:21, John-Mark Gurney wrote: > Svatopluk Kraus wrote this message on Sat, Aug 02, 2014 at 00:05 +0200: >> Just what I've got in January 2011: >> http://lists.freebsd.org/pipermail/freebsd-hackers/2011-January/034037.html > > Sadly, after thr

Re: domain_add(xxx) after domainfinalize...

2014-08-01 Thread John-Mark Gurney
Svatopluk Kraus wrote this message on Sat, Aug 02, 2014 at 00:05 +0200: > Just what I've got in January 2011: > http://lists.freebsd.org/pipermail/freebsd-hackers/2011-January/034037.html Sadly, after three (or six+) years, it is clear that these bugs will not be fixed, and this warning message is

Re: domain_add(xxx) after domainfinalize...

2014-08-01 Thread Svatopluk Kraus
Just what I've got in January 2011: http://lists.freebsd.org/pipermail/freebsd-hackers/2011-January/034037.html Svata On Fri, Aug 1, 2014 at 9:34 PM, John-Mark Gurney wrote: > So, I have a laptop that devd loads the bluetooth module every time.. > > This means I get the following error on eve

domain_add(xxx) after domainfinalize...

2014-08-01 Thread John-Mark Gurney
So, I have a laptop that devd loads the bluetooth module every time.. This means I get the following error on every boot: WARNING: attempt to domain_add(bluetooth) after domainfinalize() WARNING: attempt to domain_add(netgraph) after domainfinalize() Is there any real benefit to this warning? I