From owner-cvs-src@FreeBSD.ORG Wed Aug 25 01:23:39 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 327BF16A4CE; Wed, 25 Aug 2004 01:23:39 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1143043D49; Wed, 25 Aug 2004 01:23:39 +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 i7P1Nc4E042693; Wed, 25 Aug 2004 01:23:38 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7P1NcYJ042692; Wed, 25 Aug 2004 01:23:38 GMT (envelope-from rwatson) Message-Id: <200408250123.i7P1NcYJ042692@repoman.freebsd.org> From: Robert Watson Date: Wed, 25 Aug 2004 01:23:38 +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/nfsclient nfs_socket.c 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: Wed, 25 Aug 2004 01:23:39 -0000 rwatson 2004-08-25 01:23:38 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_socket.c Log: In nfs_timer(), pass curthread rather than &thread0 into the protocol send routine. In IPv6 UDP, the thread will be passed to suser(), which asserts that if a thread is used for a super user check, it be curthread. Many of these protocol entry points probably need to accept credentials instead of threads. MT5 candidate. Noticed/tested by: kuriyama Revision Changes Path 1.115 +2 -4 src/sys/nfsclient/nfs_socket.c