[Bug 293127] Kernel panic __mtx_lock_sleep due to nfsd?

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 15 Mar 2026 13:48:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293127

--- Comment #28 from Rick Macklem <rmacklem@FreeBSD.org> ---
Created attachment 268822
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268822&action=edit
tcp_usrreq.c: Re-introduce a check for INP_DROPPED

I spotted this yesterday and haven't heard
back from the networking folk yet, but a
commit at around 15.0 dropped a check for
INP_DROPPED in tcp_usr_shutdown().  I think
this check is needed, since tcp_userclosed()
can set INP_DROPPED.

This simple patch puts the check back in.

Please apply it, either instead of the patch
from PR#292884 or along with it.
(There is a chance this is the underlying cause,
since I think that, without the patch, tcp_close()
can be called multiple times.)

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