[Bug 208860] [net80211]: ieee80211_waitfor_parent() will hang forever if something is enqueued into the taskqueue

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 17 18:51:49 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208860

Adrian Chadd <adrian at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adrian at freebsd.org

--- Comment #1 from Adrian Chadd <adrian at freebsd.org> ---
Yeah, the whole drain/block/cancel thing really irks me with our taskqueue
implementation.

If we want to use the taskqueue for driver related things, then we need some
way to actually cancel/drain all in a sane way. Otherwise we end up only being
able to waitfor_parent on the net80211 tasks, not the driver tasks.

It's also unclear whether we should be waiting for the driver taskqueue calls
to drain/complete with waitfor_parent.

This requires a bunch more thought and planning. I'm open to ideas!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-wireless mailing list