From owner-svn-src-head@FreeBSD.ORG Sun Jan 4 21:53:43 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 31F9F106574F; Sun, 4 Jan 2009 21:53:43 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 207468FC17; Sun, 4 Jan 2009 21:53:43 +0000 (UTC) (envelope-from rwatson@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 n04Lrhid075149; Sun, 4 Jan 2009 21:53:43 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n04LrgkD075147; Sun, 4 Jan 2009 21:53:42 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200901042153.n04LrgkD075147@svn.freebsd.org> From: Robert Watson Date: Sun, 4 Jan 2009 21:53:42 +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: r186751 - in head/sys: netinet6 netipsec 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: Sun, 04 Jan 2009 21:53:44 -0000 Author: rwatson Date: Sun Jan 4 21:53:42 2009 New Revision: 186751 URL: http://svn.freebsd.org/changeset/base/186751 Log: Unlike with struct protosw, several instances of struct ip6protosw did not use C99-style sparse structure initialization, so remove NULL assignments for now-removed pr_usrreq function pointers. Reported by: Chris Ruiz Modified: head/sys/netinet6/in6_gif.c head/sys/netipsec/xform_ipip.c Modified: head/sys/netinet6/in6_gif.c ============================================================================== --- head/sys/netinet6/in6_gif.c Sun Jan 4 21:13:51 2009 (r186750) +++ head/sys/netinet6/in6_gif.c Sun Jan 4 21:53:42 2009 (r186751) @@ -78,7 +78,6 @@ extern struct domain inet6domain; struct ip6protosw in6_gif_protosw = { SOCK_RAW, &inet6domain, 0/* IPPROTO_IPV[46] */, PR_ATOMIC|PR_ADDR, in6_gif_input, rip6_output, 0, rip6_ctloutput, - 0, 0, 0, 0, 0, &rip6_usrreqs }; Modified: head/sys/netipsec/xform_ipip.c ============================================================================== --- head/sys/netipsec/xform_ipip.c Sun Jan 4 21:13:51 2009 (r186750) +++ head/sys/netipsec/xform_ipip.c Sun Jan 4 21:53:42 2009 (r186751) @@ -673,7 +673,6 @@ static struct ip6protosw ipe6_protosw = { SOCK_RAW, &inetdomain, IPPROTO_IPV6, PR_ATOMIC|PR_ADDR|PR_LASTHDR, ip4_input6, 0, 0, rip_ctloutput, - 0, 0, 0, 0, 0, &rip_usrreqs };