From owner-cvs-all@FreeBSD.ORG Sun Mar 28 15:12:20 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 1E05616A4CF; Sun, 28 Mar 2004 15:12:20 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3B7B43D1F; Sun, 28 Mar 2004 15:12:19 -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 i2SNCJGe041551; Sun, 28 Mar 2004 15:12:19 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i2SNCJmq041547; Sun, 28 Mar 2004 15:12:19 -0800 (PST) (envelope-from rwatson) Message-Id: <200403282312.i2SNCJmq041547@repoman.freebsd.org> From: Robert Watson Date: Sun, 28 Mar 2004 15:12:19 -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/sys mutex.h src/sys/netinet ip_input.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: Sun, 28 Mar 2004 23:12:20 -0000 rwatson 2004/03/28 15:12:19 PST FreeBSD src repository Modified files: sys/sys mutex.h sys/netinet ip_input.c Log: Invert the logic of NET_LOCK_GIANT(), and remove the one reference to it. Previously, Giant would be grabbed at entry to the IP local delivery code when debug.mpsafenet was set to true, as that implied Giant wouldn't be grabbed in the driver path. Now, we will use this primitive to conditionally grab Giant in the event the entire network stack isn't running MPSAFE (debug.mpsafenet == 0). Revision Changes Path 1.267 +0 -2 src/sys/netinet/ip_input.c 1.70 +3 -3 src/sys/sys/mutex.h