]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Drain task q items when transitioning to INIT state; this closes a
authorSam Leffler <sam@FreeBSD.org>
Tue, 29 May 2007 16:13:59 +0000 (16:13 +0000)
committerSam Leffler <sam@FreeBSD.org>
Tue, 29 May 2007 16:13:59 +0000 (16:13 +0000)
commit58769f583794f914d052ece83dfd446ee3e8e4fd
tree365f77188bbe3c178fe5b9c4a39622461890e9df
parent89c1ee78f399f08e1ba0173a077f84a2c027b18b
Drain task q items when transitioning to INIT state; this closes a
race seen on smp laptops when suspending where the rx task can be
entered after the interface is detach'd.

NB: use of taskqueue_drain while holding the softc mutex is problematic

Submitted by: ambrisko
MFC after: 1 month
sys/dev/ath/if_ath.c