Date: Mon, 22 Jul 2002 07:01:44 -0700 (PDT) From: Alexander Kabaev <kan@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/nfsd nfsd.c Message-ID: <200207221401.g6ME1iPL015362@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207221401.g6ME1iPL015362>