Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2008 10:24:21 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Qing Li <qingli@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r186215 - head/sys/netinet6
Message-ID:  <20081217102342.N97918@maildrop.int.zabbadoz.net>
In-Reply-To: <200812171003.mBHA3n8x000883@svn.freebsd.org>
References:  <200812171003.mBHA3n8x000883@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081217102342.N97918>