From owner-cvs-all@FreeBSD.ORG Tue Oct 16 14:05:53 2007 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 88C6116A418; Tue, 16 Oct 2007 14:05:53 +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 961D913C45A; Tue, 16 Oct 2007 14:05:53 +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 l9GE5rYl036309; Tue, 16 Oct 2007 14:05:53 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9GE5rh6036308; Tue, 16 Oct 2007 14:05:53 GMT (envelope-from rrs) Message-Id: <200710161405.l9GE5rh6036308@repoman.freebsd.org> From: Randall Stewart Date: Tue, 16 Oct 2007 14:05:52 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet sctp_constants.h sctp_indata.c sctp_input.c sctp_output.c sctp_pcb.c sctp_structs.h sctp_timer.c sctp_usrreq.c sctp_var.h sctputil.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, 16 Oct 2007 14:05:53 -0000 rrs 2007-10-16 14:05:52 UTC FreeBSD src repository Modified files: sys/netinet sctp_constants.h sctp_indata.c sctp_input.c sctp_output.c sctp_pcb.c sctp_structs.h sctp_timer.c sctp_usrreq.c sctp_var.h sctputil.c Log: - fix sctp_ifn initial refcount issue (prevents deletion) - fix a bug during cookie collision that prevented an association from coming up in a specific restart case. - Fix it so the shutdown-pending flag gets removed (this is more for correctness then needed) when we enter shutdown-sent or shutdown-ack-sent states. - Fix a bug that caused the receiver to sometimes NOT send a SACK when a duplicate TSN arrived. Without this fix it was possible for the association to fall down if the - Deleted primary destination is also stored when SCTP_MOBILITY_BASE. (Previously, it is stored when only SCTP_MOBILITY_FASTHANDOFF) - Fix a locking issue where we might call send_initiate_ack() and incorrectly state the lock held/not held. Also fix it so that when we release the lock the inp cannot be deleted on us. - Add the debug option that can cause the stack to panic instead of aborting an assoc. This does not and should never show up in options but is useful for debugging unexpected aborts. - Add cumack_log sent to track sending cumack information for the debug case where we are running a special log per assoc. - Added extra () aroudn sctp_sbspace macro to avoid compile warnings. MFC after: 1 week Revision Changes Path 1.33 +2 -0 src/sys/netinet/sctp_constants.h 1.46 +6 -3 src/sys/netinet/sctp_indata.c 1.66 +23 -42 src/sys/netinet/sctp_input.c 1.60 +11 -0 src/sys/netinet/sctp_output.c 1.63 +7 -2 src/sys/netinet/sctp_pcb.c 1.26 +2 -1 src/sys/netinet/sctp_structs.h 1.33 +1 -0 src/sys/netinet/sctp_timer.c 1.49 +2 -0 src/sys/netinet/sctp_usrreq.c 1.21 +1 -1 src/sys/netinet/sctp_var.h 1.67 +9 -5 src/sys/netinet/sctputil.c