PERFORCE change 147620 for review
Bjoern A. Zeeb
bz at FreeBSD.org
Sun Aug 17 00:30:58 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=147620
Change 147620 by bz at bz_dumpster on 2008/08/17 00:30:03
A few ore missed V_
Affected files ...
.. //depot/projects/vimage-commit2/src/sys/net/if.c#6 edit
.. //depot/projects/vimage-commit2/src/sys/netinet6/icmp6.c#8 edit
.. //depot/projects/vimage-commit2/src/sys/netinet6/nd6.c#5 edit
.. //depot/projects/vimage-commit2/src/sys/netinet6/nd6_nbr.c#5 edit
.. //depot/projects/vimage-commit2/src/sys/netinet6/nd6_rtr.c#5 edit
.. //depot/projects/vimage-commit2/src/sys/netipsec/ipsec.c#8 edit
Differences ...
==== //depot/projects/vimage-commit2/src/sys/net/if.c#6 (text+ko) ====
==== //depot/projects/vimage-commit2/src/sys/netinet6/icmp6.c#8 (text+ko) ====
@@ -432,7 +432,7 @@
"ICMP6 checksum error(%d|%x) %s\n",
icmp6->icmp6_type, sum,
ip6_sprintf(ip6bufs, &ip6->ip6_src)));
- icmp6stat.icp6s_checksum++;
+ V_icmp6stat.icp6s_checksum++;
goto freeit;
}
==== //depot/projects/vimage-commit2/src/sys/netinet6/nd6.c#5 (text+ko) ====
@@ -229,7 +229,7 @@
if_name(ifp), (unsigned long)ndi->maxmtu);
}
- if (ndi->maxmtu > in6_maxmtu)
+ if (ndi->maxmtu > V_in6_maxmtu)
in6_setmaxmtu(); /* check all interfaces just in case */
#undef MIN
==== //depot/projects/vimage-commit2/src/sys/netinet6/nd6_nbr.c#5 (text+ko) ====
@@ -596,7 +596,7 @@
#else
IP6_EXTHDR_GET(nd_na, struct nd_neighbor_advert *, m, off, icmp6len);
if (nd_na == NULL) {
- icmp6stat.icp6s_tooshort++;
+ V_icmp6stat.icp6s_tooshort++;
return;
}
#endif
==== //depot/projects/vimage-commit2/src/sys/netinet6/nd6_rtr.c#5 (text+ko) ====
@@ -189,7 +189,7 @@
return;
bad:
- icmp6stat.icp6s_badrs++;
+ V_icmp6stat.icp6s_badrs++;
m_freem(m);
}
@@ -244,7 +244,7 @@
#else
IP6_EXTHDR_GET(nd_ra, struct nd_router_advert *, m, off, icmp6len);
if (nd_ra == NULL) {
- icmp6stat.icp6s_tooshort++;
+ V_icmp6stat.icp6s_tooshort++;
return;
}
#endif
@@ -621,7 +621,7 @@
if (V_ip6_forwarding || !V_ip6_accept_rtadv) {
nd6log((LOG_WARNING,
"defrouter_select: called unexpectedly (forwarding=%d, "
- "accept_rtadv=%d)\n", ip6_forwarding, ip6_accept_rtadv));
+ "accept_rtadv=%d)\n", ip6_forwarding, V_ip6_accept_rtadv));
splx(s);
return;
}
==== //depot/projects/vimage-commit2/src/sys/netipsec/ipsec.c#8 (text+ko) ====
@@ -1937,7 +1937,7 @@
static void
ipsec_attach(void)
{
- SECPOLICY_LOCK_INIT(&ip4_def_policy);
+ SECPOLICY_LOCK_INIT(&V_ip4_def_policy);
ip4_def_policy.refcnt = 1; /* NB: disallow free */
}
SYSINIT(ipsec, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST, ipsec_attach, NULL);
More information about the p4-projects
mailing list