From owner-cvs-all@FreeBSD.ORG Sat Jul 21 21:41:33 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 02CF216A419; Sat, 21 Jul 2007 21:41:33 +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 E51F213C45B; Sat, 21 Jul 2007 21:41:32 +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 l6LLfW8X032655; Sat, 21 Jul 2007 21:41:32 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l6LLfWS8032644; Sat, 21 Jul 2007 21:41:32 GMT (envelope-from rrs) Message-Id: <200707212141.l6LLfWS8032644@repoman.freebsd.org> From: Randall Stewart Date: Sat, 21 Jul 2007 21:41:32 +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_indata.c sctp_input.c sctp_os_bsd.h sctp_output.c sctp_pcb.c sctp_pcb.h sctp_usrreq.c src/sys/netinet6 sctp6_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, 21 Jul 2007 21:41:33 -0000 rrs 2007-07-21 21:41:32 UTC FreeBSD src repository Modified files: sys/netinet sctp_asconf.c sctp_indata.c sctp_input.c sctp_os_bsd.h sctp_output.c sctp_pcb.c sctp_pcb.h sctp_usrreq.c sys/netinet6 sctp6_usrreq.c Log: - remove duplicate code from sctp_asconf.c - remove duplicate #include that is not under #ifdef FreeBSD version to allow compile on 6.1 - static analysis changes per the cisco SA tool including: o some SA_IGNORE comments o some checks for NULL before unlock. o type corrections int -> size_t - Fix it so sctp_alloc_asoc takes a thread/proc argument. Without this we pass a NULL in to bind on implicit assoc setup and crash :-( Approved by: re@freebsd.org(Ken Smith) Revision Changes Path 1.22 +0 -3 src/sys/netinet/sctp_asconf.c 1.39 +1 -0 src/sys/netinet/sctp_indata.c 1.52 +13 -2 src/sys/netinet/sctp_input.c 1.30 +0 -1 src/sys/netinet/sctp_os_bsd.h 1.47 +3 -1 src/sys/netinet/sctp_output.c 1.50 +17 -5 src/sys/netinet/sctp_pcb.c 1.26 +1 -1 src/sys/netinet/sctp_pcb.h 1.39 +6 -4 src/sys/netinet/sctp_usrreq.c 1.35 +1 -1 src/sys/netinet6/sctp6_usrreq.c