From owner-cvs-src-old@FreeBSD.ORG Fri Jun 11 03:54:21 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 F3917106566B for ; Fri, 11 Jun 2010 03:54:20 +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 E26878FC14 for ; Fri, 11 Jun 2010 03:54:20 +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 o5B3sK8b027157 for ; Fri, 11 Jun 2010 03:54:20 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o5B3sKCS027156 for cvs-src-old@freebsd.org; Fri, 11 Jun 2010 03:54:20 GMT (envelope-from rrs@repoman.freebsd.org) Message-Id: <201006110354.o5B3sKCS027156@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rrs@repoman.freebsd.org using -f From: Randall Stewart Date: Fri, 11 Jun 2010 03:54:00 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet sctp_pcb.c sctp_usrreq.c sctputil.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: Fri, 11 Jun 2010 03:54:21 -0000 rrs 2010-06-11 03:54:00 UTC FreeBSD src repository Modified files: sys/netinet sctp_pcb.c sctp_usrreq.c sctputil.c Log: SVN rev 209029 on 2010-06-11 03:54:00Z by rrs 3 Fixes - a) There was a case where a ICMP message could cause us to return leaving a stuck lock on an stcb. b) The iterator needed some tweaks to fix its lock ordering. c) The ITERATOR_LOCK is no longer needed in the freeing of a stcb. Now that the timer based one is gone we don't have a multiple resume situation. Add to that that there was somewhere a path out of the freeing of an assoc that did NOT release the iterator_lock.. it was time to clean this old code up and in the process fix the lock bug. MFC after: 1 week Revision Changes Path 1.110 +11 -39 src/sys/netinet/sctp_pcb.c 1.77 +3 -0 src/sys/netinet/sctp_usrreq.c 1.112 +14 -4 src/sys/netinet/sctputil.c