From owner-cvs-src@FreeBSD.ORG Mon May 16 17:25:53 2005 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 9906416A4CE; Mon, 16 May 2005 17:25:53 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6752443D48; Mon, 16 May 2005 17:25:53 +0000 (GMT) (envelope-from glebius@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 j4GHPn2t029421; Mon, 16 May 2005 17:25:49 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4GHPn32029420; Mon, 16 May 2005 17:25:49 GMT (envelope-from glebius) Message-Id: <200505161725.j4GHPn32029420@repoman.freebsd.org> From: Gleb Smirnoff Date: Mon, 16 May 2005 17:25:49 +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/netgraph ng_socket.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: Mon, 16 May 2005 17:25:53 -0000 glebius 2005-05-16 17:25:49 UTC FreeBSD src repository Modified files: sys/netgraph ng_socket.c Log: Close race between node being shutdown and socket being detached. To do this, obtain netgraph locking in detach method via ng_send_fn1(). Reviewed by: julian MFC after: 2 weeks Revision Changes Path 1.62 +27 -7 src/sys/netgraph/ng_socket.c