From owner-cvs-all@FreeBSD.ORG Tue Feb 26 11:33:24 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77FCD1065B8D; Tue, 26 Feb 2008 11:33:24 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AC52113E9B1; Tue, 26 Feb 2008 11:33:12 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m1QBXCWN027201; Tue, 26 Feb 2008 11:33:12 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1QBXC9Y027200; Tue, 26 Feb 2008 11:33:12 GMT (envelope-from rrs) Message-Id: <200802261133.m1QBXC9Y027200@repoman.freebsd.org> From: Randall Stewart Date: Tue, 26 Feb 2008 11:33:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/netinet sctp_usrreq.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: Tue, 26 Feb 2008 11:33:24 -0000 rrs 2008-02-26 11:33:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet sctp_usrreq.c Log: - Fix a bug in the connect() routine. A ref count was incremented in the wrong place, which could cause a incorrect accounting undre certain error conditions. And worse when we have a duplicate connect we called TCB_LOCK() not TCB_UNLOCK().... which will lead to a system lockup (escalting lock wait scenario). Revision Changes Path 1.48.2.4 +2 -2 src/sys/netinet/sctp_usrreq.c