Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2004 17:29:03 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/nfsd nfsd.c
Message-ID:  <200401110129.i0B1T3fX006081@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004/01/10 17:29:03 PST

  FreeBSD src repository

  Modified files:
    usr.sbin/nfsd        nfsd.c 
  Log:
  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
  
  Revision  Changes    Path
  1.29      +8 -0      src/usr.sbin/nfsd/nfsd.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401110129.i0B1T3fX006081>