]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r320458
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 16 Jul 2017 19:36:44 +0000 (19:36 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 16 Jul 2017 19:36:44 +0000 (19:36 +0000)
commit8fc07008d0a45ce20e0ecbe601723ff5349c146f
treeb1dd2cf46ae4f104d8df4c9ab2e73838de67f2ee
parentebda585b51cbf0f53c5ad81d3639b10e03cc2139
MFC: r320458
Fix an NFSv3 client case that probably never happens.

If an NFSv3 server were to reply with weak cache consistency attributes,
but not post operation attributes, the client would use garbage attributes
from memory. This was spotted during work on the code for the NFSv4.1 client.
I have never seen evidence that this happens and it wouldn't make sense
for an NFSv3 server to do this, so this patch is basically "theoretical",
but does fix the problem if a server were to do the above.

git-svn-id: svn://svn.freebsd.org/base/stable/10@321057 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clport.c