freebsd-skq/sys/fs/nfsserver
Rick Macklem 60a09a94cf Fix a crash in the NFSv4 server.
The PR reported a crash that occurred when a file was removed while
client(s) were actively doing lock operations on it.
Since nfsvno_getvp() will return NULL when the file does not exist,
the bug was obvious and easy to fix via this patch. It is a little
surprising that this wasn't found sooner, but I guess the above
case rarely occurs.

Tested by:	iron.udjin@gmail.com
PR:		242768
Reported by:	iron.udjin@gmail.com
MFC after:	2 weeks
2020-01-26 17:59:05 +00:00
..
nfs_fha_new.c sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
nfs_fha_new.h sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
nfs_nfsdcache.c nfs: add missing CLTFLAG_MPSAFE annotations 2020-01-15 01:31:57 +00:00
nfs_nfsdkrpc.c Add support for NFSv4.2 to the NFS client and server. 2019-12-12 23:22:55 +00:00
nfs_nfsdport.c nfs: add missing CLTFLAG_MPSAFE annotations 2020-01-15 01:31:57 +00:00
nfs_nfsdserv.c vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
nfs_nfsdsocket.c vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
nfs_nfsdstate.c Fix a crash in the NFSv4 server. 2020-01-26 17:59:05 +00:00
nfs_nfsdsubs.c Add support for NFSv4.2 to the NFS client and server. 2019-12-12 23:22:55 +00:00