From owner-cvs-all@FreeBSD.ORG Tue May 29 16:13:59 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3EC016A476; Tue, 29 May 2007 16:13:59 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8ECE313C465; Tue, 29 May 2007 16:13:59 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4TGDxxv057297; Tue, 29 May 2007 16:13:59 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4TGDxYA057296; Tue, 29 May 2007 16:13:59 GMT (envelope-from sam) Message-Id: <200705291613.l4TGDxYA057296@repoman.freebsd.org> From: Sam Leffler Date: Tue, 29 May 2007 16:13:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/ath if_ath.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 16:13:59 -0000 sam 2007-05-29 16:13:59 UTC FreeBSD src repository Modified files: sys/dev/ath if_ath.c Log: 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 Revision Changes Path 1.168 +10 -5 src/sys/dev/ath/if_ath.c