From owner-cvs-src-old@FreeBSD.ORG Sun Jun 6 20:34:25 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 B127D106564A for ; Sun, 6 Jun 2010 20:34:25 +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 9D6248FC20 for ; Sun, 6 Jun 2010 20:34:25 +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 o56KYPXP034167 for ; Sun, 6 Jun 2010 20:34:25 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o56KYPF0034166 for cvs-src-old@freebsd.org; Sun, 6 Jun 2010 20:34:25 GMT (envelope-from rrs@repoman.freebsd.org) Message-Id: <201006062034.o56KYPF0034166@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 20:34:17 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet sctp_constants.h sctp_lock_bsd.h sctp_pcb.c sctp_sysctl.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 20:34:25 -0000 rrs 2010-06-06 20:34:17 UTC FreeBSD src repository Modified files: sys/netinet sctp_constants.h sctp_lock_bsd.h sctp_pcb.c sctp_sysctl.c Log: SVN rev 208879 on 2010-06-06 20:34:17Z by rrs 1) Optimize the cleanup and don't always depend on the timer. This is done by considering the locks we will destroy and if they are contended we consider it the same as a reference count being up. Fixing this appears to cleanup another crash that was appearing with all the timers where the socket buf lock got corrupted. 2) Fix the sysctl code to take a lot more care when looking at INP's that are in the GONE or ALLGONE state. MFC after: 1 week Revision Changes Path 1.53 +1 -1 src/sys/netinet/sctp_constants.h 1.16 +7 -0 src/sys/netinet/sctp_lock_bsd.h 1.105 +10 -3 src/sys/netinet/sctp_pcb.c 1.32 +10 -3 src/sys/netinet/sctp_sysctl.c