On Wed, 17 Dec 2008, Qing Li wrote:
Author: qingli
Date: Wed Dec 17 10:03:49 2008
New Revision: 186215
URL: http://svn.freebsd.org/changeset/base/186215
Log:
in6_clsroute() was applied to prefix routes causing some
of them to expire. in6_clsroute() was only applied to
cloned routes that are no longer applicable after the
arp-v2 commit.
Modified:
head/sys/netinet6/in6.c
head/sys/netinet6/in6_rmx.c
head/sys/netinet6/nd6.c
head/sys/netinet6/nd6.h
head/sys/netinet6/nd6_rtr.c
Modified: head/sys/netinet6/in6.c
==============================================================================
--- head/sys/netinet6/in6.c Wed Dec 17 08:18:11 2008 (r186214)
+++ head/sys/netinet6/in6.c Wed Dec 17 10:03:49 2008 (r186215)
@@ -987,6 +987,13 @@ in6_update_ifa(struct ifnet *ifp, struct
}
}
if (!rt) {
+
+ printf("in6_update_ifa #1: addr= %s, mask= %s, ia= %s, ifp =
%s\n",
+ ip6_sprintf(ip6buf, &mltaddr.sin6_addr),
+ ip6_sprintf(ip6buf, &mltmask.sin6_addr),
+ ip6_sprintf(ip6buf, &ia->ia_addr.sin6_addr),
You cannot use the same buffer for all three ... (not only here)
--
Bjoern A. Zeeb The greatest risk is not taking one.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"