https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242768

--- Comment #11 from Rick Macklem <[email protected]> ---
Created attachment 210429
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=210429&action=edit
check for a non-NULL tvp returned by nfsvno_getvp()

Duh. It's the obvious ones that are hard to spot.
I took another look and the bug is obvious.
nfsvno_getvp() returns NULL if it can't get the
vnode and this code didn't check for non-NULL
before doing the unlock.

The attached patch should avoid the crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to