Date: Sat, 04 Jan 2020 01:34:00 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 242768] [panic] Fatal trap 12: current process (nfsd: service) Message-ID: <bug-242768-227-Pod7rDNqBY@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-242768-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242768 --- Comment #11 from Rick Macklem <rmacklem@FreeBSD.org> --- 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.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242768-227-Pod7rDNqBY>
