From owner-cvs-all@FreeBSD.ORG Wed Aug 17 17:44:33 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7120316A41F; Wed, 17 Aug 2005 17:44:33 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D68E43D46; Wed, 17 Aug 2005 17:44:33 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7HHiXXx037218; Wed, 17 Aug 2005 17:44:33 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7HHiXA9037217; Wed, 17 Aug 2005 17:44:33 GMT (envelope-from jhb) Message-Id: <200508171744.j7HHiXA9037217@repoman.freebsd.org> From: John Baldwin Date: Wed, 17 Aug 2005 17:44:33 +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/fxp if_fxp.c src/sys/dev/hme if_hme.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: Wed, 17 Aug 2005 17:44:33 -0000 jhb 2005-08-17 17:44:33 UTC FreeBSD src repository Modified files: sys/dev/fxp if_fxp.c sys/dev/hme if_hme.c Log: Add callout_drain()'s to foo_detach() after calling foo_stop() to make sure that if softclock is running on another CPU and is blocked on our driver lock, we will wait until it has acquired the lock, seen that it was cancelled, dropped the lock, and awakened us so that we can safely destroy the mutex. MFC after: 3 days Revision Changes Path 1.245 +1 -0 src/sys/dev/fxp/if_fxp.c 1.41 +1 -0 src/sys/dev/hme/if_hme.c