]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r227690
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 3 Jan 2012 16:32:33 +0000 (16:32 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 3 Jan 2012 16:32:33 +0000 (16:32 +0000)
commita3811a86e43438b13a8bf2225186378b7d08fc16
tree8ae3e6ac4b7211576fd2034352dcb037b94461ff
parent9f105be01275471a5d139a80960eaec83d10e695
MFC: r227690
The old NFS client will crash due to the reply being m_freem()'d
twice if the server bogusly returns an error with the NFSERR_RETERR
bit (bit 31) set. No actual NFS error has this bit set, but it seems
that amd will sometimes do this. This patch makes sure the NFSERR_RETERR
bit is cleared to avoid a crash.

git-svn-id: svn://svn.freebsd.org/base/stable/9@229391 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/nfsclient/nfs_krpc.c