Date: Mon, 18 Jun 2001 12:10:22 +0900 From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <jinmei@isl.rdc.toshiba.co.jp> To: Hajimu UMEMOTO <ume@mahoroba.org> Cc: current@FreeBSD.ORG, net@FreeBSD.ORG Subject: Re: [CFR] latest KAME merge into FreeBSD Message-ID: <y7vu21ecwkh.wl@condor.jinmei.org> In-Reply-To: <20010604.192036.74727576.ume@mahoroba.org> References: <20010604.192036.74727576.ume@mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Mon, 04 Jun 2001 19:20:36 +0900 (JST), >>>>> Hajimu UMEMOTO <ume@mahoroba.org> said: > I just put the patch for merging latest KAME into FreeBSD: > http://www.imasy.or.jp/~ume/ipv6/test/freebsd5-kame20010528-20010604.diff.gz > This is based on KAME snap 20010528 and against 5-CURRENT of Jun 2. > There are many many changes since last KAME merge (20000701). > Please review it. Thanks for the effort. Could you apply the following patch? The fix is not so serious for most users, but should be important for nomadic users who use IPv6 temporary addresses (for privacy extension). JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp Index: nd6_rtr.c =================================================================== RCS file: /cvsroot/kame/kame/kame/sys/netinet6/nd6_rtr.c,v retrieving revision 1.119 retrieving revision 1.121 diff -c -r1.119 -r1.121 *** nd6_rtr.c 2001/06/04 09:07:28 1.119 --- nd6_rtr.c 2001/06/18 03:10:25 1.121 *************** *** 1,4 **** ! /* $KAME: nd6_rtr.c,v 1.119 2001/06/04 09:07:28 keiichi Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. --- 1,4 ---- ! /* $KAME: nd6_rtr.c,v 1.121 2001/06/18 03:10:25 jinmei Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. *************** *** 1903,1908 **** --- 1903,1909 ---- int in6_tmpifadd(ia0, forcegen) const struct in6_ifaddr *ia0; /* corresponding public address */ + int forcegen; { struct ifnet *ifp = ia0->ia_ifa.ifa_ifp; struct in6_ifaddr *newia; *************** *** 2001,2006 **** --- 2002,2017 ---- } newia->ia6_ndpr = ia0->ia6_ndpr; newia->ia6_ndpr->ndpr_refcnt++; + + /* + * A newly added address might affect the status of other addresses. + * XXX: when the temporary address is generated with a new public + * address, the onlink check is redundant. However, it would be safe + * to do the check explicitly everywhere a new address is generated, + * and, in fact, we surely need the check when we create a new + * temporary address due to deprecation of an old temporary address. + */ + pfxlist_onlink_check(); return(0); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?y7vu21ecwkh.wl>