]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: r316666
authorrmacklem <rmacklem@FreeBSD.org>
Tue, 25 Apr 2017 19:02:34 +0000 (19:02 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Tue, 25 Apr 2017 19:02:34 +0000 (19:02 +0000)
commitede7e53da7348bab25901f51c5175f5b0e7122cf
tree91f5e7f5a9cc2fceb1e1af42b115316919e4bf70
parent1de3c4ef63863b9b1b89187bedad7595e59b43fe
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.
sys/fs/nfs/nfs_commonsubs.c