From owner-cvs-src@FreeBSD.ORG Fri Oct 22 09:32:46 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D24C16A4CE; Fri, 22 Oct 2004 09:32:46 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A31943D46; Fri, 22 Oct 2004 09:32:46 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9M9WkpA095760; Fri, 22 Oct 2004 09:32:46 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9M9WjKm095759; Fri, 22 Oct 2004 09:32:45 GMT (envelope-from rwatson) Message-Id: <200410220932.i9M9WjKm095759@repoman.freebsd.org> From: Robert Watson Date: Fri, 22 Oct 2004 09:32:45 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/net if.c if_var.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2004 09:32:46 -0000 rwatson 2004-10-22 09:32:45 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/net if.c if_var.h Log: Merge if.c:1.210, if_var.h:1.85 from HEAD to RELENG_5: Define IFF_LOCKGIANT() and IFF_UNLOCKGIANT() macros, which conditionally acquire Giant if the passed interface has IFF_NEEDSGIANT set on it. Modify calls into (ifp)->if_ioctl() in if.c to use these macros in order to ensure that Giant is held. MFC after: 3 days Bumped into by: jmg Approved by: re (kensmith) Revision Changes Path 1.199.2.8 +30 -2 src/sys/net/if.c 1.84.2.1 +10 -0 src/sys/net/if_var.h