From owner-cvs-all@FreeBSD.ORG Fri Aug 26 15:14:34 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 8F26216A41F; Fri, 26 Aug 2005 15:14:34 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C5FD43D45; Fri, 26 Aug 2005 15:14:34 +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 j7QFEYj2056137; Fri, 26 Aug 2005 15:14:34 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7QFEYOp056136; Fri, 26 Aug 2005 15:14:34 GMT (envelope-from glebius) Message-Id: <200508261514.j7QFEYOp056136@repoman.freebsd.org> From: Gleb Smirnoff Date: Fri, 26 Aug 2005 15:14:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netgraph ng_base.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 26 Aug 2005 15:14:34 -0000 glebius 2005-08-26 15:14:34 UTC FreeBSD src repository Modified files: sys/netgraph ng_base.c Log: Cleanup the reader/writer policy in netgraph(4). Assign either reader or writer flag on item in the function, that allocates the item. Do not modify these flags when item is applied or queued. The only exceptions are node and hook overrides - they can change item flags to writer. Revision Changes Path 1.107 +25 -24 src/sys/netgraph/ng_base.c