From owner-svn-src-head@FreeBSD.ORG Wed Dec 17 10:25:07 2008 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 9A6C41065670; Wed, 17 Dec 2008 10:25:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 49DAC8FC1C; Wed, 17 Dec 2008 10:25:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id BD3DF41C6B4; Wed, 17 Dec 2008 11:25:05 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id f3CZBRPJOzIk; Wed, 17 Dec 2008 11:25:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 68FF741C6A3; Wed, 17 Dec 2008 11:25:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 7F44D4448D5; Wed, 17 Dec 2008 10:24:21 +0000 (UTC) Date: Wed, 17 Dec 2008 10:24:21 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Qing Li In-Reply-To: <200812171003.mBHA3n8x000883@svn.freebsd.org> Message-ID: <20081217102342.N97918@maildrop.int.zabbadoz.net> References: <200812171003.mBHA3n8x000883@svn.freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r186215 - head/sys/netinet6 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: Wed, 17 Dec 2008 10:25:07 -0000 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.