From owner-cvs-all Thu Sep 12 0:34:51 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EEB137B400; Thu, 12 Sep 2002 00:34:47 -0700 (PDT) Received: from verifam.don.to (verifam.don.to [202.224.226.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03CBB43E42; Thu, 12 Sep 2002 00:34:47 -0700 (PDT) (envelope-from sumikawa@ebina.hitachi.co.jp) Received: from localhost (localhost [127.0.0.1]) by verifam.don.to (8.12.5/8.12.4) with ESMTP id g8C7ZpJS028700; Thu, 12 Sep 2002 16:35:51 +0900 (JST) (envelope-from sumikawa@ebina.hitachi.co.jp) Date: Thu, 12 Sep 2002 16:33:38 +0900 (JST) Message-Id: <20020912.163338.96462722.sumikawa@ebina.hitachi.co.jp> To: sobomax@FreeBSD.org Cc: brooks@one-eyed-alien.net, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, sumikawa@ebina.hitachi.co.jp Subject: Re: cvs commit: src/sys/net if_gif.c if_gif.h From: Munechika Sumikawa In-Reply-To: <3D804187.512BE49C@FreeBSD.org> References: <20020905094452.A3044@Odin.AC.HMC.Edu> <20020912.154452.47469593.sumikawa@ebina.hitachi.co.jp> <3D804187.512BE49C@FreeBSD.org> X-Mailer: xcite1.43> Mew version 3.0.60 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > 2. As Brooks said, when several tunnel are nested for example gif0 -> > > gif1 -> gif2 -> gif0, it's not counted rightly. > > Why not? The packet will be dropped down after the second attempt to > enter gif0. To me it makes more sense than dropping it down in gif1. The main purpose of this checking is preventing kernel stack overflow when calling functions deep recursively. New meaning of max_gif_nesting cannot prevent this when several tunnels are chained. --- Munechika SUMIKAWA @ KAME Project / FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message