From owner-cvs-all@FreeBSD.ORG Sat Sep 8 17:48:47 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 1279C16A419; Sat, 8 Sep 2007 17:48:47 +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 EB94613C45B; Sat, 8 Sep 2007 17:48:46 +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 l88HmkHu073201; Sat, 8 Sep 2007 17:48:47 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l88Hmked073200; Sat, 8 Sep 2007 17:48:46 GMT (envelope-from rrs) Message-Id: <200709081748.l88Hmked073200@repoman.freebsd.org> From: Randall Stewart Date: Sat, 8 Sep 2007 17:48:46 +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_asconf.c sctp_asconf.h sctp_bsd_addr.c sctp_constants.h sctp_indata.c sctp_input.c sctp_output.c sctp_pcb.c sctp_pcb.h sctp_structs.h sctp_sysctl.c sctp_sysctl.h sctp_timer.c sctp_timer.h sctp_uio.h sctp_usrreq.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: Sat, 08 Sep 2007 17:48:47 -0000 rrs 2007-09-08 17:48:46 UTC FreeBSD src repository Modified files: sys/netinet sctp.h sctp_asconf.c sctp_asconf.h sctp_bsd_addr.c sctp_constants.h sctp_indata.c sctp_input.c sctp_output.c sctp_pcb.c sctp_pcb.h sctp_structs.h sctp_sysctl.c sctp_sysctl.h sctp_timer.c sctp_timer.h sctp_uio.h sctp_usrreq.c sctp_var.h sctputil.c sys/netinet6 sctp6_usrreq.c Log: - send call has a reference to uio->uio_resid in the recent send code, but uio may be NULL on sendfile calls. Change to use sndlen variable. - EMSGSIZE is not being returned in non-blocking mode and needs a small tweak to look if the msg would ever fit when returning EWOULDBLOCK. - FWD-TSN has a bug in stream processing which could cause a panic. This is a follow on to the codenomicon fix. - PDAPI level 1 and 2 do not work unless the reader gets his returned buffer full. Fix so we can break out when at level 1 or 2. - Fix fast-handoff features to copy across properly on accepted sockets - Fix sctp_peeloff() system call when no true system call exists to screen arguments for errors. In cases where a real system call exists the system call itself does this. - Fix raddr leak in recent add-ip code change for bundled asconfs (even when non-bundled asconfs are received) - Make sure ipi_addr lock is held when walking global addr list. Need to change this lock type to a rwlock(). - Add don't wake flag on both input and output when the socket is closing. - When deleting an address verify the interface is correct before allowing the delete to process. This protects panda and unnumbered. - Clean up old sysctl stuff and get rid of the old Open/Net BSD structures. - Add a function to watch the ranges in the sysctl sets. - When appending in the reassembly queue, validate that the assoc has not gone to about to be freed. If so (in the middle) abort out. Note this especially effects MAC I think due to the lock/unlock they do (or with LOCK testing in place). - Netstat patch to get rid of warnings. - Make sure that no data gets queued to inactive/unconfirmed destinations. This especially effect CMT but also makes a impact on regular SCTP as well. - During init collision when we detect seq number out of sync we need to treat it like Case C and discard the cookie (no invarient needed here). - Atomic access to the random store. - When we declare a vtag good, we need to shove it into the time wait hash to prevent further use. When the tag is put into the assoc hash, we need to remove it from the twait hash (where it will surely be). This prevents duplicate tag assignments. - Move decr-ref count to better protect sysctl out of data. - ltrace error corrections in sctp6_usrreq.c - Add hook for interface up/down to be sent to us. - Make sysctl() exported structures independent of processor architecture. - Fix route and src addr cache clearing for delete address case. - Make sure address marked SCTP_DEL_IP_ADDRESS is never selected as src addr. - in icmp handling fixed so we actually look at the icmp codes to figure out what to do. - Modified mobility code. Reception of DELETE IP ADDRESS for a primary destination and SET PRIMARY for a new primary destination is used for retransmission trigger to the new primary destination. Also, in this case, destination of chunks in send_queue are changed to the new primary destination. - Fix so that we disallow sending by mbuf to ever have EEOR mode set upon it. Approved by: re@freebsd.org (B Mah) Revision Changes Path 1.20 +1 -1 src/sys/netinet/sctp.h 1.28 +167 -11 src/sys/netinet/sctp_asconf.c 1.9 +7 -0 src/sys/netinet/sctp_asconf.h 1.14 +5 -1 src/sys/netinet/sctp_bsd_addr.c 1.29 +15 -6 src/sys/netinet/sctp_constants.h 1.43 +20 -16 src/sys/netinet/sctp_indata.c 1.60 +42 -10 src/sys/netinet/sctp_input.c 1.53 +86 -20 src/sys/netinet/sctp_output.c 1.56 +237 -20 src/sys/netinet/sctp_pcb.c 1.30 +18 -3 src/sys/netinet/sctp_pcb.h 1.25 +3 -0 src/sys/netinet/sctp_structs.h 1.15 +380 -308 src/sys/netinet/sctp_sysctl.c 1.11 +35 -180 src/sys/netinet/sctp_sysctl.h 1.29 +18 -0 src/sys/netinet/sctp_timer.c 1.6 +4 -0 src/sys/netinet/sctp_timer.h 1.27 +13 -6 src/sys/netinet/sctp_uio.h 1.46 +89 -93 src/sys/netinet/sctp_usrreq.c 1.19 +1 -1 src/sys/netinet/sctp_var.h 1.59 +50 -11 src/sys/netinet/sctputil.c 1.40 +119 -10 src/sys/netinet6/sctp6_usrreq.c