Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2026 22:26:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 293127] Kernel panic __mtx_lock_sleep due to nfsd?
Message-ID:  <bug-293127-227-8Ztu3xxPkL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-293127-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=293127

--- Comment #15 from Rick Macklem <rmacklem@FreeBSD.org> ---
Created attachment 268432
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268432&action=edit
svc_dg.c: Take an additional refcnt for the socket

This patch does what the patch in PR#292884 does
for TCP sockets, except for UDP sockets.
I know you said that the patch in PR#292884 did
not stop the crashes, but at least one crash showed
a failure w.r.t. a UDP socket, so I am hoping that
this patch plus the one in PR#292884 will stop the
crashes?

If you can test with both this patch and the one in
PR#292884 applied, that would be appreciated.
(Setting nfs_server_flags="t" so it is not using any
UDP sockets should also have the same effect as this
patch, if I am correct in my assumption that this is
related to the sockets being sorele()'d prematurely.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293127-227-8Ztu3xxPkL>