From owner-cvs-src@FreeBSD.ORG Thu Dec 9 11:47:30 2004 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 937C316A4CE; Thu, 9 Dec 2004 11:47:30 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 826F543D53; Thu, 9 Dec 2004 11:47:30 +0000 (GMT) (envelope-from mlaier@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 iB9BlUNi051525; Thu, 9 Dec 2004 11:47:30 GMT (envelope-from mlaier@repoman.freebsd.org) Received: (from mlaier@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iB9BlU2w051524; Thu, 9 Dec 2004 11:47:30 GMT (envelope-from mlaier) Message-Id: <200412091147.iB9BlU2w051524@repoman.freebsd.org> From: Max Laier Date: Thu, 9 Dec 2004 11:47:30 +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 uipc_domain.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: Thu, 09 Dec 2004 11:47:30 -0000 mlaier 2004-12-09 11:47:30 UTC FreeBSD src repository Modified files: sys/kern uipc_domain.c Log: Start the protocol timeouts only after all domains have been initialized completely. For some reason (that I am still curious about) we started to no longer manage to finish the initialization before the timeouts run the first time leading to panics when using uninitialized mutex etc. The root of this problem is that we currently first link a domain to the domains list and only later initialize the domain's protocols. This should be reworked in the future, but with the current API it is not possible in all situations. We settle with this lazy fix for now. Tested by: gnn, ru, myself Revision Changes Path 1.43 +3 -3 src/sys/kern/uipc_domain.c