From owner-freebsd-net Tue Jul 17 8:15:16 2001 Delivered-To: freebsd-net@freebsd.org Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by hub.freebsd.org (Postfix) with ESMTP id 68B0537B406; Tue, 17 Jul 2001 08:15:10 -0700 (PDT) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from localhost ([3ffe:501:100f:13ff::a]) by shuttle.wide.toshiba.co.jp (8.9.1+3.1W/8.9.1) with ESMTP id AAA24306; Wed, 18 Jul 2001 00:17:05 +0900 (JST) Date: Wed, 18 Jul 2001 00:15:07 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: bmah@FreeBSD.ORG Cc: freebsd-net@FreeBSD.ORG Subject: Re: IPV6 panic? In-Reply-To: <200107170355.f6H3tBG13515@intruder.bmah.org> References: <200107121019.f6CAJqI85911@zibbi.icomtek.csir.co.za> <200107121548.f6CFmZF15294@intruder.bmah.org> <200107150827.f6F8Rxh02585@intruder.bmah.org> <200107161716.f6GHGO207568@intruder.bmah.org> <200107170355.f6H3tBG13515@intruder.bmah.org> User-Agent: Wanderlust/2.5.8 (Smooth) Emacs/21.0 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII X-Dispatcher: imput version 980905(IM100) Lines: 43 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >>>>> On Mon, 16 Jul 2001 20:55:11 -0700, >>>>> bmah@FreeBSD.ORG (Bruce A. Mah) said: >> > (kgdb) print rt >> > $1 = (struct rtentry *) 0x3 >> > (kgdb) print ln >> > $2 = (struct llinfo_nd6 *) 0x620000 >> >> Then rt and ln are surely broken. I have not got the reason yet, >> though... > Yes, rt in particular caught my eye. I've almost got the problem. Unfortunately, all IPv6 autoconfigured nodes would panic every 24 hours. Since I guess I need some more work for a complete fix to this, I'll attach a workaround. Please try the following patch for the moment. The patch suppresses garbage collection of stale neighbor cache entries, but it would not matter for most users. Thanks, JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp *** nd6.c.orig Wed Jul 18 00:06:30 2001 --- nd6.c Wed Jul 18 00:06:57 2001 *************** *** 500,507 **** --- 500,509 ---- case ND6_LLINFO_STALE: /* Garbage Collection(RFC 2461 5.3) */ + #if 0 /* XXX: short-term workaround to avoid panic */ if (ln->ln_expire) next = nd6_free(rt); + #endif break; case ND6_LLINFO_DELAY: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message