From owner-cvs-all@FreeBSD.ORG Mon Mar 27 04:23:18 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 0033B16A401; Mon, 27 Mar 2006 04:23:17 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B27A443D48; Mon, 27 Mar 2006 04:23:17 +0000 (GMT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2R4NHZh073036; Mon, 27 Mar 2006 04:23:17 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2R4NHes073035; Mon, 27 Mar 2006 04:23:17 GMT (envelope-from alc) Message-Id: <200603270423.k2R4NHes073035@repoman.freebsd.org> From: Alan Cox Date: Mon, 27 Mar 2006 04:23:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern uipc_syscalls.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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, 27 Mar 2006 04:23:18 -0000 alc 2006-03-27 04:23:17 UTC FreeBSD src repository Modified files: sys/kern uipc_syscalls.c Log: Use NET_LOCK_GIANT() and VFS_LOCK_GIANT() instead of unconditionally acquiring Giant in kern_sendfile(). Guard against the forced reclamation of a vnode in kern_sendfile(). Discussed with: jeff Reviewed by: tegge MFC after: 3 weeks Revision Changes Path 1.225 +29 -4 src/sys/kern/uipc_syscalls.c