From owner-cvs-src-old@FreeBSD.ORG Sun Jun 6 16:11:34 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71061106566C for ; Sun, 6 Jun 2010 16:11:34 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6003E8FC1F for ; Sun, 6 Jun 2010 16:11:34 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o56GBYZp096365 for ; Sun, 6 Jun 2010 16:11:34 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o56GBYPN096364 for cvs-src-old@freebsd.org; Sun, 6 Jun 2010 16:11:34 GMT (envelope-from rrs@repoman.freebsd.org) Message-Id: <201006061611.o56GBYPN096364@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rrs@repoman.freebsd.org using -f From: Randall Stewart Date: Sun, 6 Jun 2010 16:11:16 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet sctp_input.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2010 16:11:34 -0000 rrs 2010-06-06 16:11:16 UTC FreeBSD src repository Modified files: sys/netinet sctp_input.c Log: SVN rev 208876 on 2010-06-06 16:11:16Z by rrs 1) Further enhance the INVARIANT lock validation (no locks) are held by checking the create and inp locks as well. 2) Fix a bug in that when a socket is closed an INIT-ACK is returned, we do NOT unlock the locked_tcb unless its different (an unlikely scenario). If we blindly unlock as we were doing before we can end up unlocking the actual stcb thats about to be sent down to the free function which requires the lock be held. MFC after: 1 week Revision Changes Path 1.93 +8 -1 src/sys/netinet/sctp_input.c