HomeFreeBSD

Problem:
rS124357Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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@sics.se>
PR: 61084

Details

Provenance
rwatsonAuthored on
Parents
rS124356: MF-p4/diff reduction:
Branches
Unknown
Tags
Unknown

Event Timeline