From owner-cvs-src@FreeBSD.ORG Mon Jan 15 15:12:10 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50E4C16A4AB; Mon, 15 Jan 2007 15:12:10 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3F7FA13C4BA; Mon, 15 Jan 2007 15:12:10 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l0FFCAUq024203; Mon, 15 Jan 2007 15:12:10 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l0FFCACY024202; Mon, 15 Jan 2007 15:12:10 GMT (envelope-from rrs) Message-Id: <200701151512.l0FFCACY024202@repoman.freebsd.org> From: Randall Stewart Date: Mon, 15 Jan 2007 15:12:10 +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_asconf.c sctp_constants.h sctp_crc32.c sctp_indata.c sctp_indata.h sctp_input.c sctp_os_bsd.h sctp_output.c sctp_pcb.c sctp_pcb.h sctp_structs.h sctp_uio.h sctp_usrreq.c sctp_var.h sctputil.c sctputil.h ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2007 15:12:10 -0000 rrs 2007-01-15 15:12:10 UTC FreeBSD src repository Modified files: sys/netinet sctp_asconf.c sctp_constants.h sctp_crc32.c sctp_indata.c sctp_indata.h sctp_input.c sctp_os_bsd.h sctp_output.c sctp_pcb.c sctp_pcb.h sctp_structs.h sctp_uio.h sctp_usrreq.c sctp_var.h sctputil.c sctputil.h sys/netinet6 sctp6_usrreq.c Log: - Macroizes the V6ONLY flag check. - Added a short time wait (not used yet) constant - Corrected the type of the crc32c table (it was unsigned long and really is a uint32_t - Got rid of the user of MHeaders until they are truely needed by lower layers. - Fixed an initialization problem in the readq structure (ordering was off). - Found yet another collision bug when the random number generator returns two numbers on one side (during a collision) that are the same. Also added some tracking of cookies that will go away when we know that we have the last collision bug gone. - Fixed an init bug for book_size_scale, that was causing Early FR code to run when it should not. - Fixed a flight size tracking bug that was associated with Early FR but due to above bug also effected all FR's - Fixed it so Max Burst also will apply to Fast Retransmit. - Fixed a bug in the temporary logging code that allowed a static log array overflow - hashinit_flags is now used. - Two last mcopym's were converted to the macro sctp_m_copym that has always been used by all other places - macro sctp_m_copym was converted to upper case. - We now validate sinfo_flags on input (we did not before). - Fixed a bug that prevented a user from sending data and immediately shuting down with one send operation. - Moved to use hashdestroy instead of free() in our macros. - Fixed an init problem in our timed_wait vtag where we did not fully initialize our time-wait blocks. - Timer stops were re-positioned. - A pcb cleanup method was added, however this probably will not be used in BSD.. unless we make module loadable protocols - I think this fixes the mysterious timer bug.. it was a ordering of locks problem in the way we did timers. It now conforms to the timeout(9) manual (except for the _drain part, we had to do this a different way due to locks). - Fixed error return code so we get either CONNREUSED or CONNRESET depending on where one is in progression - Purged an unused clone macro. - Fixed a read erro code issue where we were NOT getting the proper error when the connection was reset. - Purged an unused clone macro. - Fixed a read erro code issue where we were NOT getting the proper error when the connection was reset. Approved by: gnn Revision Changes Path 1.6 +2 -4 src/sys/netinet/sctp_asconf.c 1.5 +6 -0 src/sys/netinet/sctp_constants.h 1.5 +65 -65 src/sys/netinet/sctp_crc32.c 1.7 +3 -3 src/sys/netinet/sctp_indata.c 1.2 +10 -6 src/sys/netinet/sctp_indata.h 1.11 +73 -11 src/sys/netinet/sctp_input.c 1.5 +9 -0 src/sys/netinet/sctp_os_bsd.h 1.9 +71 -29 src/sys/netinet/sctp_output.c 1.10 +38 -54 src/sys/netinet/sctp_pcb.c 1.4 +3 -6 src/sys/netinet/sctp_pcb.h 1.6 +1 -0 src/sys/netinet/sctp_structs.h 1.6 +9 -6 src/sys/netinet/sctp_uio.h 1.9 +21 -9 src/sys/netinet/sctp_usrreq.c 1.3 +3 -0 src/sys/netinet/sctp_var.h 1.11 +77 -30 src/sys/netinet/sctputil.c 1.6 +1 -4 src/sys/netinet/sctputil.h 1.8 +5 -16 src/sys/netinet6/sctp6_usrreq.c