Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2012 20:32:06 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-hackers@freebsd.org
Cc:        freebsd-net@freebsd.org, Adrian Chadd <adrian@freebsd.org>, Marko Zec <zec@fer.hr>
Subject:   Re: VIMAGE crashes on 9.x with hotplug net80211 devices
Message-ID:  <201211152032.06181.hselasky@c2i.net>
In-Reply-To: <CAJ-Vmo=WKJ6NxgGake4dqGV0jhOmpcsO2en=FC5U2zOkRqOn0A@mail.gmail.com>
References:  <CAJ-VmomchJZ7GUKrAjmmyBXDw-6H6O5fAxT_tfAFfhU=HknG1g@mail.gmail.com> <201211151836.04709.zec@fer.hr> <CAJ-Vmo=WKJ6NxgGake4dqGV0jhOmpcsO2en=FC5U2zOkRqOn0A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 15 November 2012 20:16:12 Adrian Chadd wrote:
> Hans brings up a very good point for USB - they split if_alloc and
> if_attach across two different threads.
> 
> So this works for non-USB devices, but not for USB devices.
> 
> Hans, does each device implement its own workqueue for this kind of
> delayed action, or is there some generic work queue that is doing this
> work?
> 
> 

Hi,

I think a new thread is created for this stuff. It is inside the USB 
subsystem, but would consider this a big *hack* to add VNET specific stuff in 
there.

Isn't it possible to have curvnet return "vnet0" when nothing else is set?

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211152032.06181.hselasky>