From owner-cvs-all Mon Jul 22 7: 1:53 2002 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 0BE9437B405; Mon, 22 Jul 2002 07:01:45 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B51D543E3B; Mon, 22 Jul 2002 07:01:44 -0700 (PDT) (envelope-from kan@FreeBSD.org) Received: from freefall.freebsd.org (kan@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6ME1iJU015363; Mon, 22 Jul 2002 07:01:44 -0700 (PDT) (envelope-from kan@freefall.freebsd.org) Received: (from kan@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6ME1iPL015362; Mon, 22 Jul 2002 07:01:44 -0700 (PDT) Message-Id: <200207221401.g6ME1iPL015362@freefall.freebsd.org> From: Alexander Kabaev Date: Mon, 22 Jul 2002 07:01:44 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/nfsd nfsd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG kan 2002/07/22 07:01:44 PDT Modified files: usr.sbin/nfsd nfsd.c Log: Initialize sockbits variable with FD_ZERO, to avoid passing a fd_set with random garbage in lower bits corresponding to stdin, stdout and stderr to select(2). This fixes the problem with nfsd sometimes getting stuck in a tight select(2) loop eating 100% CPU time. Reviewed by: iedowse Approved by: obrien Revision Changes Path 1.26 +1 -0 src/usr.sbin/nfsd/nfsd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message