Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Marko Zec
On Thursday 25 July 2013 16:27:43 Marius Strobl wrote: > On Thu, Jul 25, 2013 at 12:24:53PM +0200, Marko Zec wrote: > > On Thursday 25 July 2013 11:36:46 Craig Rodrigues wrote: > > > On Thu, Jul 25, 2013 at 1:07 AM, Marius Strobl > > > > wrote: > > > > Uhm - do we really need to have that layering

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Adrian Chadd
There's already a layering violation. It's called "giving a default vnet context during initial system bring up rather than properly figuring out where to sneak it in." That's the root cause that hid all of this crap. -adrian ___ svn-src-head@freebsd.

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Bruce Evans
On Thu, 25 Jul 2013, Marko Zec wrote: On Thursday 25 July 2013 10:07:58 Marius Strobl wrote: On Mon, Jul 15, 2013 at 01:32:55AM +, Craig Rodrigues wrote: Author: rodrigc Date: Mon Jul 15 01:32:55 2013 New Revision: 253346 URL: http://svnweb.freebsd.org/changeset/base/253346 Log: PR: 168

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Marius Strobl
On Thu, Jul 25, 2013 at 12:24:53PM +0200, Marko Zec wrote: > On Thursday 25 July 2013 11:36:46 Craig Rodrigues wrote: > > On Thu, Jul 25, 2013 at 1:07 AM, Marius Strobl > wrote: > > > Uhm - do we really need to have that layering violation in subr_bus.c? > > > Wouldn't it be sufficient to set curt

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Marko Zec
On Thursday 25 July 2013 11:36:46 Craig Rodrigues wrote: > On Thu, Jul 25, 2013 at 1:07 AM, Marius Strobl wrote: > > Uhm - do we really need to have that layering violation in subr_bus.c? > > Wouldn't it be sufficient to set curthread->td_vnet to vnet0 in > > if_alloc(9) or if_attach(9) at least i

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Craig Rodrigues
On Thu, Jul 25, 2013 at 1:07 AM, Marius Strobl wrote: > > Uhm - do we really need to have that layering violation in subr_bus.c? > Wouldn't it be sufficient to set curthread->td_vnet to vnet0 in if_alloc(9) > or if_attach(9) at least instead? > There was some discussion about this involving Mark

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Marko Zec
On Thursday 25 July 2013 10:07:58 Marius Strobl wrote: > On Mon, Jul 15, 2013 at 01:32:55AM +, Craig Rodrigues wrote: > > Author: rodrigc > > Date: Mon Jul 15 01:32:55 2013 > > New Revision: 253346 > > URL: http://svnweb.freebsd.org/changeset/base/253346 > > > > Log: > > PR: 168520 170096 > >

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Marius Strobl
On Mon, Jul 15, 2013 at 01:32:55AM +, Craig Rodrigues wrote: > Author: rodrigc > Date: Mon Jul 15 01:32:55 2013 > New Revision: 253346 > URL: http://svnweb.freebsd.org/changeset/base/253346 > > Log: > PR: 168520 170096 > Submitted by: adrian, zec > > Fix multiple kernel panics when VI

svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-14 Thread Craig Rodrigues
Author: rodrigc Date: Mon Jul 15 01:32:55 2013 New Revision: 253346 URL: http://svnweb.freebsd.org/changeset/base/253346 Log: PR: 168520 170096 Submitted by: adrian, zec Fix multiple kernel panics when VIMAGE is enabled in the kernel. These fixes are based on patches submitted by Adrian