From owner-cvs-all@FreeBSD.ORG Wed Jul 14 20:31:05 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 C617716A4CF; Wed, 14 Jul 2004 20:31:05 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EDAC43D49; Wed, 14 Jul 2004 20:31:05 +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 i6EKV5uw019006; Wed, 14 Jul 2004 20:31:05 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6EKV57H019005; Wed, 14 Jul 2004 20:31:05 GMT (envelope-from rwatson) Message-Id: <200407142031.i6EKV57H019005@repoman.freebsd.org> From: Robert Watson Date: Wed, 14 Jul 2004 20:31:05 +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_tty.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: Wed, 14 Jul 2004 20:31:05 -0000 rwatson 2004-07-14 20:31:05 UTC FreeBSD src repository Modified files: sys/netgraph ng_tty.c Log: Add a mutex ng_tty_mtx to protect the global variable ngt_unit. Note that the locking of globals here isn't complete, and there's also a locking issue relating to calling into and out of the tty code. Revision Changes Path 1.29 +10 -0 src/sys/netgraph/ng_tty.c