From owner-cvs-src@FreeBSD.ORG Mon May 28 11:17:24 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 8A3DB16A421; Mon, 28 May 2007 11:17:24 +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 77AF113C45B; Mon, 28 May 2007 11:17:24 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4SBHOiE065833; Mon, 28 May 2007 11:17:24 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4SBHOZU065832; Mon, 28 May 2007 11:17:24 GMT (envelope-from rrs) Message-Id: <200705281117.l4SBHOZU065832@repoman.freebsd.org> From: Randall Stewart Date: Mon, 28 May 2007 11:17:24 +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.h sctp_auth.c sctp_constants.h sctp_indata.c sctp_input.c sctp_output.c sctp_pcb.c sctp_pcb.h sctp_peeloff.c sctp_structs.h sctp_sysctl.c sctp_timer.c sctp_uio.h sctp_usrreq.c sctputil.c sctputil.h src/sys/netinet6 ... 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, 28 May 2007 11:17:24 -0000 rrs 2007-05-28 11:17:24 UTC FreeBSD src repository Modified files: sys/netinet sctp.h sctp_auth.c sctp_constants.h sctp_indata.c sctp_input.c sctp_output.c sctp_pcb.c sctp_pcb.h sctp_peeloff.c sctp_structs.h sctp_sysctl.c sctp_timer.c sctp_uio.h sctp_usrreq.c sctputil.c sctputil.h sys/netinet6 sctp6_usrreq.c Log: - fixed autclose to not allow setting on 1-2-1 model. - bounded cookie-life to 1 second minimum in socket option set. - Delayed_ack_time becomes delayed_ack per new socket api document. - Improve port number selection, we now use low/high bounds and no chance of a endless loop. Only one call to random per bind as well. - fixes so set_peer_primary pre-screens addresses to be valid to this host. - maxseg did not allow setting on an assoc basis. We needed to thus track and use an association value instead of a inp value. - Fixed ep get of HB status to report back properly. - use settings flag to tell if assoc level hb is on off not the timer.. since the timer may still run if unconf address are present. - check for crazy ENABLE/DISABLE conditions. - set and get of pmtud (fixed path mtu) not always taking into account ovh. - Getting PMTU info on stcb only needs to return PMTUD_ENABLED if any net is doing PMTU discovery. - Panic or warning fixed to not do so when a valid ip frag is taking place. - sndrcvinfo appearing in both inp and stcb was full size, instead of the non-pad version. This saves about 92 bytes from each struct by carefully converting to use the smaller version. - one-2-one model get(maxseg) would always get ep value, never the tcb's value. - The delayed ack time could be under a tick, this fixes so it bounds it to at least 1 tick for platforms whos tick is more than a ms. - Fragment interleave level set to wrong default value. - Fragment interleave could not set level 0. - Defered stream reset was broken due to a guard check and ntohl issue. - Found two lock order reversals and fixed. - Tighten up address checking, if the user gives an address the sa_len had better be set properly. - Get asoc by assoc-id would return a locked tcb when it was asked not to if the tcb was in the restart hash. - sysctl to dig down and get more association details Reviewed by: gnn Revision Changes Path 1.9 +5 -1 src/sys/netinet/sctp.h 1.12 +13 -0 src/sys/netinet/sctp_auth.c 1.17 +7 -2 src/sys/netinet/sctp_constants.h 1.25 +15 -18 src/sys/netinet/sctp_indata.c 1.28 +15 -19 src/sys/netinet/sctp_input.c 1.27 +41 -10 src/sys/netinet/sctp_output.c 1.30 +69 -84 src/sys/netinet/sctp_pcb.c 1.17 +5 -1 src/sys/netinet/sctp_pcb.h 1.10 +7 -2 src/sys/netinet/sctp_peeloff.c 1.17 +22 -12 src/sys/netinet/sctp_structs.h 1.7 +245 -83 src/sys/netinet/sctp_sysctl.c 1.17 +1 -1 src/sys/netinet/sctp_timer.c 1.19 +39 -38 src/sys/netinet/sctp_uio.h 1.28 +261 -75 src/sys/netinet/sctp_usrreq.c 1.32 +37 -9 src/sys/netinet/sctputil.c 1.20 +5 -3 src/sys/netinet/sctputil.h 1.23 +24 -2 src/sys/netinet6/sctp6_usrreq.c