From owner-cvs-all@FreeBSD.ORG Sun Jul 18 01:29:43 2004 Return-Path: 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 C41D816A4CE; Sun, 18 Jul 2004 01:29:43 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A48EE43D39; Sun, 18 Jul 2004 01:29:43 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6I1ThRC068535; Sun, 18 Jul 2004 01:29:43 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6I1Th7w068534; Sun, 18 Jul 2004 01:29:43 GMT (envelope-from rwatson) Message-Id: <200407180129.i6I1Th7w068534@repoman.freebsd.org> From: Robert Watson Date: Sun, 18 Jul 2004 01:29:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern uipc_usrreq.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 18 Jul 2004 01:29:44 -0000 rwatson 2004-07-18 01:29:43 UTC FreeBSD src repository Modified files: sys/kern uipc_usrreq.c Log: Drop Giant and acquire the UNIX domain socket subsystem lock a bit earlier in unp_connect() so that vp->v_socket can't change between our copying its value to a local variable and later use of that variable. This may have been responsible for a panic during shutdown that I experienced where simultaneous closing of a listen socket by rpcbind and a new connection being made to rpcbind by mountd. Revision Changes Path 1.134 +4 -4 src/sys/kern/uipc_usrreq.c