From owner-cvs-src-old@FreeBSD.ORG Thu Dec 25 02:14:43 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53FB31065673 for ; Thu, 25 Dec 2008 02:14:43 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 27A288FC14 for ; Thu, 25 Dec 2008 02:14:43 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mBP2EhZe030681 for ; Thu, 25 Dec 2008 02:14:43 GMT (envelope-from kmacy@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mBP2EhN2030680 for cvs-src-old@freebsd.org; Thu, 25 Dec 2008 02:14:43 GMT (envelope-from kmacy@repoman.freebsd.org) Message-Id: <200812250214.mBP2EhN2030680@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kmacy@repoman.freebsd.org using -f From: Kip Macy Date: Thu, 25 Dec 2008 02:14:25 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net if_tun.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Dec 2008 02:14:43 -0000 kmacy 2008-12-25 02:14:25 UTC FreeBSD src repository Modified files: sys/net if_tun.c Log: SVN rev 186483 on 2008-12-25 02:14:25Z by kmacy - Close a race during which the open flag could be cleared but the tun_softc would still be referenced by adding a separate TUN_CLOSED flag that is set after tunclose is done referencing it. - drop the tun_mtx after the flag check to avoid holding it across if_detach which can recurse in to if_tun.c Revision Changes Path 1.174 +6 -2 src/sys/net/if_tun.c