From owner-cvs-all@FreeBSD.ORG Mon Mar 22 06:24:27 2004 Return-Path: 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 2B4A516A4CE; Mon, 22 Mar 2004 06:24:27 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EDFA43D1D; Mon, 22 Mar 2004 06:24:27 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i2MEOQGe057525; Mon, 22 Mar 2004 06:24:26 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i2MEOQYK057524; Mon, 22 Mar 2004 06:24:26 -0800 (PST) (envelope-from rwatson) Message-Id: <200403221424.i2MEOQYK057524@repoman.freebsd.org> From: Robert Watson Date: Mon, 22 Mar 2004 06:24:26 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net if_gif.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 14:24:27 -0000 rwatson 2004/03/22 06:24:26 PST FreeBSD src repository Modified files: sys/net if_gif.c Log: Move "called", a static function variable used to detect recursive processing with gif interfaces, to a global variable named "gif_called". Add an annotation that this approach will not work with a reentrant network stack, and that we should instead use packet tags to detect excessive recursive processing. Revision Changes Path 1.42 +11 -4 src/sys/net/if_gif.c