From owner-cvs-all@FreeBSD.ORG Fri Jun 11 03:47:35 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 A8A8A16A4CE; Fri, 11 Jun 2004 03:47:35 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BD9A43D1D; Fri, 11 Jun 2004 03:47:35 +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 i5B3lL3V092846; Fri, 11 Jun 2004 03:47:21 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5B3lLCl092845; Fri, 11 Jun 2004 03:47:21 GMT (envelope-from rwatson) Message-Id: <200406110347.i5B3lLCl092845@repoman.freebsd.org> From: Robert Watson Date: Fri, 11 Jun 2004 03:47:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net bpf.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: Fri, 11 Jun 2004 03:47:35 -0000 rwatson 2004-06-11 03:47:21 UTC FreeBSD src repository Modified files: sys/net bpf.c Log: Switch to conditionally acquiring and dropping Giant around calls into ifp->if_output() basedd on debug.mpsafenet. That way once bpfwrite() can be called without Giant, it will acquire Giant (if desired) before entering the network stack. Revision Changes Path 1.127 +2 -2 src/sys/net/bpf.c