From owner-svn-src-head@FreeBSD.ORG Tue Dec 23 12:03:13 2008 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 917AD106567E; Tue, 23 Dec 2008 12:03:13 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6CBD58FC1B; Tue, 23 Dec 2008 12:03:13 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTP id 2495B46B32; Tue, 23 Dec 2008 07:03:13 -0500 (EST) Date: Tue, 23 Dec 2008 12:03:13 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "Bjoern A. Zeeb" In-Reply-To: <200812221254.mBMCsr67061758@svn.freebsd.org> Message-ID: References: <200812221254.mBMCsr67061758@svn.freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r186393 - head/sys/netinet6 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: Tue, 23 Dec 2008 12:03:13 -0000 On Mon, 22 Dec 2008, Bjoern A. Zeeb wrote: > Author: bz > Date: Mon Dec 22 12:54:52 2008 > New Revision: 186393 > URL: http://svn.freebsd.org/changeset/base/186393 > > Log: > Correct variable name in comment. In IPv4 we've eliminated use of ipprotosw, although we still have ipprotosw.h, which should go away as it's unused; I'd like to see ip6protosw go away as well. The domain registration code assumes that when an array of protocols are registered, the size of the array entry is sizeof(struct protosw), which happens currently to be true for ip6protosw. At least, I think. :-) Robert N M Watson Computer Laboratory University of Cambridge > > MFC after: 4 weeks > > Modified: > head/sys/netinet6/ip6_input.c > > Modified: head/sys/netinet6/ip6_input.c > ============================================================================== > --- head/sys/netinet6/ip6_input.c Mon Dec 22 07:11:15 2008 (r186392) > +++ head/sys/netinet6/ip6_input.c Mon Dec 22 12:54:52 2008 (r186393) > @@ -248,7 +248,7 @@ ip6_init(void) > if (pr == 0) > panic("ip6_init"); > > - /* Initialize the entire ip_protox[] array to IPPROTO_RAW. */ > + /* Initialize the entire ip6_protox[] array to IPPROTO_RAW. */ > for (i = 0; i < IPPROTO_MAX; i++) > ip6_protox[i] = pr - inet6sw; > /* >