Date: Sat, 13 Jul 2013 16:48:20 +0300 From: Mikolaj Golub <trociny@FreeBSD.org> To: Marko Zec <zec@fer.hr> Cc: Craig Rodrigues <rodrigc@freebsd.org>, svn-src-head@freebsd.org, Adrian Chadd <adrian@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt Message-ID: <20130713134819.GF2757@gmail.com> In-Reply-To: <201307131339.52599.zec@fer.hr> References: <201307120803.r6C83ACp016523@svn.freebsd.org> <CAJ-VmomidFufKmGUb0YP2pHWu%2BpF2Os3Fo4JWzkMJDKLqP_ing@mail.gmail.com> <20130713073118.GC2757@gmail.com> <201307131339.52599.zec@fer.hr>
next in thread | previous in thread | raw e-mail | index | archive | help
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: http://lists.freebsd.org/pipermail/freebsd-virtualization/2009-May/000325.html http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/169991 Or do you mean something else? -- Mikolaj Golub
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130713134819.GF2757>