From owner-cvs-src@FreeBSD.ORG Mon Oct 13 22:25:32 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB32F16A4BF; Mon, 13 Oct 2003 22:25:32 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D01843F3F; Mon, 13 Oct 2003 22:25:32 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9E5PWXJ014242; Mon, 13 Oct 2003 22:25:32 -0700 (PDT) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9E5PWlD014241; Mon, 13 Oct 2003 22:25:32 -0700 (PDT) (envelope-from imp) Message-Id: <200310140525.h9E5PWlD014241@repoman.freebsd.org> From: Warner Losh Date: Mon, 13 Oct 2003 22:25:32 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/owi if_owi.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2003 05:25:32 -0000 imp 2003/10/13 22:25:32 PDT FreeBSD src repository Modified files: sys/dev/owi if_owi.c Log: Fix a race condition in owi. If you eject a card, then the wi_inquire timeout would continue to happen: boom! Fix this[*] by timing out earlier. [*] almost fixes the race on unload: wi_inquire could be running when untimeout is called, and there's no way to know when it has actually returned. This race is very rare and hard to lose. Submitted by: scottl Revision Changes Path 1.2 +2 -2 src/sys/dev/owi/if_owi.c