Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 16:33:38 +0900 (JST)
From:      Munechika Sumikawa <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
Message-ID:  <20020912.163338.96462722.sumikawa@ebina.hitachi.co.jp>
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>

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




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