I need a little help in fixing `exclusive sleep mutex urtwn0_com_lock` in CURRENT
Adrian Chadd
adrian.chadd at gmail.com
Wed Mar 30 15:00:45 UTC 2016
We really need some kind of device refcounting for things that be
hotplugged (ie, most things these days) so we don't end up freeing
driver state before all the driver / stack entry points are done.
For net80211 drivers, they need to (a) not finish detach until all
entry points are done, and (b) this includes ioctls and net80211 entry
points, as net80211 may be doing something with the ic (eg an ioctl,
etc) that hasn't yet finished.
So yeah, it's not /just/ draining taskqueues, it's actually "we need
an actual device lifecycle management thing".
-adrian
On 30 March 2016 at 04:45, Hans Petter Selasky <hps at selasky.org> wrote:
> On 03/30/16 13:30, Andriy Voskoboinyk wrote:
>>
>> Wed, 30 Mar 2016 12:30:48 +0300 було написано Aleksander Alekseev
>> <mail at eax.me>:
>>
>>> and then pull Wi-Fi adapter out of USB
>>
>>
>> Here (it's not the only driver which does detach incorrectly).
>
>
> Is this something which you can fix?
>
> --HPS
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
More information about the freebsd-hackers
mailing list