Date: Tue, 23 Oct 2012 09:16:11 +0200 From: Marko Zec <zec@fer.hr> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: VIMAGE crashes on 9.x with hotplug net80211 devices Message-ID: <201210230916.11513.zec@fer.hr> In-Reply-To: <CAJ-Vmomg_pSZ=ZdGNf9FB7Tx_K4DHMsCQsBuFVyojEHr0r1_Ew@mail.gmail.com> References: <CAJ-VmomchJZ7GUKrAjmmyBXDw-6H6O5fAxT_tfAFfhU=HknG1g@mail.gmail.com> <201210222317.00457.zec@fer.hr> <CAJ-Vmomg_pSZ=ZdGNf9FB7Tx_K4DHMsCQsBuFVyojEHr0r1_Ew@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 22 October 2012 23:43:11 Adrian Chadd wrote: > Hi, > > I don't mind tackling the net80211 clone detach path. > > I do mind how the default for hotplug is "argh, it doesn't work." :-) > > So I'd like to come up with something to fix the basic device detach, > rather than having to actually add CURVNET_*() calls around each > if_free() in each device detach method. As already mentioned earlier, I don't terribly object if you'd place CURVNET_SET(ifp->if_vnet) inside if_free() and a limited number of similar functions, but I don't quite believe this is will enough to solve the device_detach() issue without having to touch any of the drivers... Marko
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210230916.11513.zec>