From owner-cvs-src-old@FreeBSD.ORG Fri Dec 18 19:50:32 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9288C10657A9 for ; Fri, 18 Dec 2009 19:50:32 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 808C28FC18 for ; Fri, 18 Dec 2009 19:50:32 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nBIJoW3e040566 for ; Fri, 18 Dec 2009 19:50:32 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nBIJoWaS040565 for cvs-src-old@freebsd.org; Fri, 18 Dec 2009 19:50:32 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200912181950.nBIJoWaS040565@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Fri, 18 Dec 2009 19:50:21 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/nfsserver nfs_serv.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 19:50:32 -0000 jhb 2009-12-18 19:50:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/nfsserver nfs_serv.c Log: SVN rev 200681 on 2009-12-18 19:50:21Z by jhb MFC 200084: Properly return an error reply if an NFS remove or link operation fails. Previously the failing operation would allocate an mbuf and construct an error reply, but because the function did not return 0, the NFS server assumed it had failed to generate a reply and would leak the reply mbuf as well as not sending the reply to the NFS client. Revision Changes Path 1.174.2.10 +3 -4 src/sys/nfsserver/nfs_serv.c