K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2021-03-15T20:49:04.812182Z K 7 svn:log V 645 nfsclient: add checks for a server returning the current directory Commit 3fe2c68ba20f dealt with a panic in cache_enter_time() where the vnode referred to the directory argument. It would also be possible to get these panics if a broken NFS server were to return the directory as an new object being created within the directory or in a Lookup reply. This patch adds checks to avoid the panics and logs messages to indicate that the server is broken for the file object creation cases. (cherry picked from commit 3e04ab36ba5ce5cbbf6d22f17a01a391a04e465f) Git Hash: b6b901f8f8a77ce37a7807ac152e971d43e2291e Git Author: rmacklem@FreeBSD.org END