Date: Thu, 3 Dec 2009 20:59:28 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/nfsserver nfs_serv.c Message-ID: <200912032059.nB3Kxaeu096206@repoman.freebsd.org>
index | next in thread | raw e-mail
jhb 2009-12-03 20:59:28 UTC
FreeBSD src repository
Modified files:
sys/nfsserver nfs_serv.c
Log:
SVN rev 200084 on 2009-12-03 20:59:28Z by jhb
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.
PR: kern/140853
Submitted by: Ted Faber faber at isi edu (remove)
Reviewed by: rmacklem (remove)
MFC after: 1 week
Revision Changes Path
1.199 +3 -4 src/sys/nfsserver/nfs_serv.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912032059.nB3Kxaeu096206>
