CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2009/07/18 08:40:31
Modified files: sys/nfs : nfs_socket.c nfs_vnops.c Log message: Fixes for the NFSERR_RETERR commit. - Make sure to set the mbuf pointers and the dpos pointer correctly in nfs_request() before returning an error. - Fix potential mbufs leaks in nfs_{read,write}rpc for v2. The reply mbuf was not being freed before the jump to nfsmout. - Reorder error handling to prevent an error case being treated as a non-error case. Fixes issues noticed by sthen@ and ajacou...@. Tested by both of them. Reviewd by oga@ OK blambert@