cvs commit: src/sbin/nfsd nfsd.c
Robert Watson
rwatson at FreeBSD.org
Tue Mar 30 12:25:34 PST 2004
rwatson 2004/03/30 12:25:33 PST
FreeBSD src repository
Modified files: (Branch: RELENG_4)
sbin/nfsd nfsd.c
Log:
MFC src/usr.sbin/sbin/nfsd.c:1.29:
Problem:
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.
Solution:
Check for ECONNABORTED (and also EINTR, since nfsd uses signals)
and continue.
Submitted by: Bjoern Groenvall <bg at sics.se>
PR: 61084
Reminded by: Lewis Thompson <lewiz at fajita.org>
Revision Changes Path
1.15.2.2 +9 -1 src/sbin/nfsd/nfsd.c
More information about the cvs-src
mailing list