From owner-cvs-all Sun Jun 3 10:31:16 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E893B37B405; Sun, 3 Jun 2001 10:31:11 -0700 (PDT) (envelope-from yar@FreeBSD.org) Received: (from yar@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f53HVBA42280; Sun, 3 Jun 2001 10:31:11 -0700 (PDT) (envelope-from yar) Message-Id: <200106031731.f53HVBA42280@freefall.freebsd.org> From: Yar Tikhiy Date: Sun, 3 Jun 2001 10:31:11 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_gif.c X-FreeBSD-CVS-Branch: HEAD 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 yar 2001/06/03 10:31:11 PDT Modified files: sys/net if_gif.c Log: First, wrap the if_up() call into splimp()/splx() because if_up() must be called at splnet or higher. Second, set the IFF_RUNNING flag on an interface after its resources (i.e. tunnel source and destination addresses) have been set. Note that we don't set IFF_UP because it is if_up()'s job to do that. PR: kern/27851 Submitted by: Horacio J. PeÓa Revision Changes Path 1.9 +6 -3 src/sys/net/if_gif.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message