From owner-svn-src-head@FreeBSD.ORG Sat May 30 10:50:40 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 945971065679; Sat, 30 May 2009 10:50:40 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 832CA8FC2A; Sat, 30 May 2009 10:50:40 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4UAoeow004107; Sat, 30 May 2009 10:50:40 GMT (envelope-from rrs@svn.freebsd.org) Received: (from rrs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4UAoe02004106; Sat, 30 May 2009 10:50:40 GMT (envelope-from rrs@svn.freebsd.org) Message-Id: <200905301050.n4UAoe02004106@svn.freebsd.org> From: Randall Stewart Date: Sat, 30 May 2009 10:50:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r193088 - head/sys/netinet X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2009 10:50:41 -0000 Author: rrs Date: Sat May 30 10:50:40 2009 New Revision: 193088 URL: http://svn.freebsd.org/changeset/base/193088 Log: Make sctp_uio user to kernel structure match the socket-api draft. Two fields were uint32_t when they should have been uint16_t. Reported by Jonathan Leighton at U-del. Modified: head/sys/netinet/sctp_uio.h Modified: head/sys/netinet/sctp_uio.h ============================================================================== --- head/sys/netinet/sctp_uio.h Sat May 30 10:42:19 2009 (r193087) +++ head/sys/netinet/sctp_uio.h Sat May 30 10:50:40 2009 (r193088) @@ -68,8 +68,8 @@ struct sctp_event_subscribe { * ancillary data structures */ struct sctp_initmsg { - uint32_t sinit_num_ostreams; - uint32_t sinit_max_instreams; + uint16_t sinit_num_ostreams; + uint16_t sinit_max_instreams; uint16_t sinit_max_attempts; uint16_t sinit_max_init_timeo; };