From owner-cvs-src-old@FreeBSD.ORG Fri Apr 23 00:12:52 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5B491065673 for ; Fri, 23 Apr 2010 00:12:52 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D26558FC21 for ; Fri, 23 Apr 2010 00:12:52 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o3N0Cqrx095966 for ; Fri, 23 Apr 2010 00:12:52 GMT (envelope-from rmacklem@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o3N0Cq6E095965 for cvs-src-old@freebsd.org; Fri, 23 Apr 2010 00:12:52 GMT (envelope-from rmacklem@repoman.freebsd.org) Message-Id: <201004230012.o3N0Cq6E095965@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rmacklem@repoman.freebsd.org using -f From: Rick Macklem Date: Fri, 23 Apr 2010 00:12:23 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/fs/nfs nfs_commonport.c nfsclstate.h src/sys/fs/nfsclient nfs_clport.c nfs_clrpcops.c nfs_clstate.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2010 00:12:53 -0000 rmacklem 2010-04-23 00:12:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/fs/nfs nfs_commonport.c nfsclstate.h sys/fs/nfsclient nfs_clport.c nfs_clrpcops.c nfs_clstate.c Log: SVN rev 207085 on 2010-04-23 00:12:23Z by rmacklem MFC: r206688 The experimental NFS client was not filling in recovery credentials for opens done locally in the client when a delegation for the file was held. This could cause the client to crash in crsetgroups() when recovering from a server crash/reboot. This patch fills in the recovery credentials for this case, in order to avoid the client crash. Also, add KASSERT()s to the credential copy functions, to catch any other cases where the credentials aren't filled in correctly. Revision Changes Path 1.4.2.4 +2 -0 src/sys/fs/nfs/nfs_commonport.c 1.1.2.2 +1 -0 src/sys/fs/nfs/nfsclstate.h 1.5.2.5 +2 -0 src/sys/fs/nfsclient/nfs_clport.c 1.4.2.3 +7 -1 src/sys/fs/nfsclient/nfs_clrpcops.c 1.7.2.4 +7 -2 src/sys/fs/nfsclient/nfs_clstate.c