From owner-cvs-src-old@FreeBSD.ORG Mon Mar 21 14:18:57 2011 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 BE0651065676 for ; Mon, 21 Mar 2011 14:18:57 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AEAFF8FC25 for ; Mon, 21 Mar 2011 14:18:57 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p2LEIvFg040695 for ; Mon, 21 Mar 2011 14:18:57 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p2LEIv0O040694 for cvs-src-old@freebsd.org; Mon, 21 Mar 2011 14:18:57 GMT (envelope-from glebius@repoman.freebsd.org) Message-Id: <201103211418.p2LEIv0O040694@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to glebius@repoman.freebsd.org using -f From: Gleb Smirnoff Date: Mon, 21 Mar 2011 14:18:40 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netgraph ng_base.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: Mon, 21 Mar 2011 14:18:57 -0000 glebius 2011-03-21 14:18:40 UTC FreeBSD src repository Modified files: sys/netgraph ng_base.c Log: SVN rev 219827 on 2011-03-21 14:18:40Z by glebius Improve locking of creating and dropping links in the graph, acquiring the topology mutex in the following functions, that manipulate pointers to peer nodes: - ng_bypass() - ng_path2noderef() when switching to the next node in sequence. Rewrite the function a bit. - ng_address_hook() - ng_address_path() This patch improves stability of large mpd5 installations. Revision Changes Path 1.185 +46 -51 src/sys/netgraph/ng_base.c