]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r357149
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Feb 2020 19:31:34 +0000 (19:31 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Feb 2020 19:31:34 +0000 (19:31 +0000)
commit33a80ffc8bdb73a5c14b22b66286f30e6a154831
tree5705d61fc9c93d9389a58e8c0bedd25ab241e803
parent7eb9e4880c769ae6c951939308d4d32cabfcfac8
MFC: r357149
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.

PR: 242768

git-svn-id: svn://svn.freebsd.org/base/stable/10@358035 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsserver/nfs_nfsdstate.c