diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2009-07-18 14:40:32 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2009-07-18 14:40:32 +0000 |
commit | f9d0b8cbd0dbc6e5e9a601d25dda900f8dc456fd (patch) | |
tree | 20bc10575baef9b2235b0b075bed42e1af0cf2bf /sys/dev | |
parent | 6899d410112834cbf33272a6d7b7de4f1c95ab54 (diff) |
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 ajacoutot@. Tested by both of them.
Reviewd by oga@
OK blambert@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions