From owner-cvs-all@FreeBSD.ORG Sun Jun 13 00:24:10 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 7110A16A4CE; Sun, 13 Jun 2004 00:24:10 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5275243D5A; Sun, 13 Jun 2004 00:24:10 +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 i5D0N3Im049214; Sun, 13 Jun 2004 00:23:03 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5D0N3tZ049213; Sun, 13 Jun 2004 00:23:03 GMT (envelope-from rwatson) Message-Id: <200406130023.i5D0N3tZ049213@repoman.freebsd.org> From: Robert Watson Date: Sun, 13 Jun 2004 00:23:03 +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/kern subr_witness.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: Sun, 13 Jun 2004 00:24:10 -0000 rwatson 2004-06-13 00:23:03 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: Introduce socket and UNIX domain socket locks into hard-coded lock order definition for witness. Send lock before receive lock, and socket locks after accept but before select: filedesc -> accept -> so_snd -> so_rcv -> sellck All routing locks after send lock: so_rcv -> radix node head All protocol locks before socket locks: unp -> so_snd udp -> udpinp -> so_snd tcp -> tcpinp -> so_snd Revision Changes Path 1.174 +8 -1 src/sys/kern/subr_witness.c