From owner-cvs-all@FreeBSD.ORG Mon Jun 2 15:59:22 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1B05106567A; Mon, 2 Jun 2008 15:59:22 +0000 (UTC) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8C2288FC13; Mon, 2 Jun 2008 15:59:22 +0000 (UTC) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m52FxMUW066384; Mon, 2 Jun 2008 15:59:22 GMT (envelope-from dfr@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m52FxMN1066383; Mon, 2 Jun 2008 15:59:22 GMT (envelope-from dfr@repoman.freebsd.org) Message-Id: <200806021559.m52FxMN1066383@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to dfr@repoman.freebsd.org using -f From: Doug Rabson Date: Mon, 2 Jun 2008 15:59:10 +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/nlm nlm_prot_impl.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, 02 Jun 2008 15:59:22 -0000 dfr 2008-06-02 15:59:22 UTC FreeBSD src repository Modified files: sys/nlm nlm_prot_impl.c Log: SVN rev 179488 on 2008-06-02 15:59:10Z by dfr When attempting to use the NSM state number in a lock request to detect a client reboot, do this check before performing the lock otherwise we will trash the new lock along with any other old locks the client held before rebooting. Make sure nlm_check_idle always returns with nlm_global_lock held. MFC after: 1 week Revision Changes Path 1.8 +10 -8 src/sys/nlm/nlm_prot_impl.c