From owner-cvs-src@FreeBSD.ORG Sat Jan 10 17:29:04 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6591816A4CE; Sat, 10 Jan 2004 17:29:04 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94CDF43D2D; Sat, 10 Jan 2004 17:29:03 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0B1T30B006082; Sat, 10 Jan 2004 17:29:03 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0B1T3fX006081; Sat, 10 Jan 2004 17:29:03 -0800 (PST) (envelope-from rwatson) Message-Id: <200401110129.i0B1T3fX006081@repoman.freebsd.org> From: Robert Watson Date: Sat, 10 Jan 2004 17:29:03 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/nfsd nfsd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2004 01:29:04 -0000 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 PR: 61084 Revision Changes Path 1.29 +8 -0 src/usr.sbin/nfsd/nfsd.c