From owner-cvs-src@FreeBSD.ORG Mon Feb 14 13:47:07 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 21E5316A4CE; Mon, 14 Feb 2005 13:47:07 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEDE443D4C; Mon, 14 Feb 2005 13:47:06 +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 j1EDl6m7014427; Mon, 14 Feb 2005 13:47:06 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1EDl68B014426; Mon, 14 Feb 2005 13:47:06 GMT (envelope-from glebius) Message-Id: <200502141347.j1EDl68B014426@repoman.freebsd.org> From: Gleb Smirnoff Date: Mon, 14 Feb 2005 13:47:06 +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_device.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, 14 Feb 2005 13:47:07 -0000 glebius 2005-02-14 13:47:06 UTC FreeBSD src repository Modified files: sys/netgraph ng_device.c Log: Make WITNESS happier: - refactor ngd_constructor, so that make_dev() is called without any locks held, since it mallocs memory with M_WAITOK flag. - rename global mtx, to have name different to per-node mtx MFC after: 2 weeks Revision Changes Path 1.19 +14 -20 src/sys/netgraph/ng_device.c