svn commit: r186751 - in head/sys: netinet6 netipsec
Robert Watson
rwatson at FreeBSD.org
Sun Jan 4 13:53:44 PST 2009
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 <yr.retarded at gmail.com>
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
};
More information about the svn-src-all
mailing list