svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

Mikolaj Golub trociny at
Sat Jul 13 13:48:28 UTC 2013

On Sat, Jul 13, 2013 at 01:39:52PM +0200, Marko Zec wrote:

> I fear both Adrian's and my patch fall short of addressing the issue of 
> generic USB device attach handling in VIMAGE kernels, i.e. the patches 
> discussed in this thread might be OK for preventing panics with ng_ubt, but 
> what about USB ethernet or wifi devices?  If I recall correctly the USB 
> stack has a separate thread which handles device attach events, and IMO the 
> curvnet context should be set there to cover a broader set of different 
> devices.

You mean usb_process thread? But as I see it calls
device_probe_and_attach() in usb_probe_and_attach(), which has vnet
context properly set to the default vnet after your patch. So I
beleive paths like these are fixed:
Or do you mean something else?

Mikolaj Golub

More information about the svn-src-head mailing list