]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r316666
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 25 Apr 2017 19:35:13 +0000 (19:35 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 25 Apr 2017 19:35:13 +0000 (19:35 +0000)
commit6c08123f961afb76d1f75f3c1b63f30a4961212e
tree25b179c39d0775b122f4a2629baf7550a67ee379
parent1637968716cfab1fc23b112c7246e73ae02ecf97
MFC: r316666
Fix the NFSv4.1 client for NFSERR_BADSESSION recovery via ReclaimComplete.

For the ReclaimComplete operation, the RPC layer should not loop on
NFSERR_BADSESSION. If it does, the recovery thread (nfscl) can get stuck
looping and will not do a recovery.
This patch fixes it so it does not loop. This bug only affects NFSv4.1 and
only when a server reboots.

git-svn-id: svn://svn.freebsd.org/base/stable/10@317419 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfs/nfs_commonsubs.c