freebsd-src/usr.sbin/nfsd
Alexander Kabaev 4cc03f63d1 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
2002-07-22 14:01:44 +00:00
..
Makefile Default to WARNS=2. 2001-12-04 02:19:58 +00:00
nfsd.8 The .Nm utility 2002-07-06 19:34:18 +00:00
nfsd.c Initialize sockbits variable with FD_ZERO, to avoid passing a fd_set 2002-07-22 14:01:44 +00:00