Date: Thu, 12 Sep 2002 15:44:52 +0900 (JST) From: Munechika Sumikawa <sumikawa@ebina.hitachi.co.jp> To: brooks@one-eyed-alien.net Cc: sobomax@FreeBSD.org, 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.154452.47469593.sumikawa@ebina.hitachi.co.jp> In-Reply-To: <20020905094452.A3044@Odin.AC.HMC.Edu> References: <200209051535.g85FZdq2038989@freefall.freebsd.org> <20020905094452.A3044@Odin.AC.HMC.Edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Thu, Sep 05, 2002 at 08:35:39AM -0700, Maxim Sobolev wrote: > > sobomax 2002/09/05 08:35:39 PDT > > > > Modified files: > > sys/net if_gif.c if_gif.h > > Log: > > Make recursion prevention variable per-instance and remove XXX comment > > about thread-unsafety. > > Good solution. > > On minor issue. This changes the meaning of max_gif_nesting. Before it > was the number of gif over gif tunnels you could nest. Now it's > the number of times you can traverse the same tunnel while routing > a packet. I'm not sure it makes any sense for it to be tunable any more. 1. it's still thread unsafe when two different threads use same gif tunnel. 2. As Brooks said, when several tunnel are nested for example gif0 -> gif1 -> gif2 -> gif0, it's not counted rightly. --- 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.154452.47469593.sumikawa>