cvs commit: src/usr.sbin/nfsd nfsd.c
rwatson at FreeBSD.org
Sat Jan 10 17:29:04 PST 2004
rwatson 2004/01/10 17:29:03 PST
FreeBSD src repository
When an NFS server is port-scanned nfsd sometimes exits. This has
happened 3 times the last few weeks.
Nfsd has been written to exit when accept(2) fails. Unfortunately
accept can sometimes make a "normal" return with errno ECONNABORTED
and in this case nfsd exits prematurely.
Check for ECONNABORTED (and also EINTR, since nfsd uses signals)
Submitted by: Bjoern Groenvall <bg at sics.se>
Revision Changes Path
1.29 +8 -0 src/usr.sbin/nfsd/nfsd.c
More information about the cvs-src