[Bug 291249] kgssapi panic at module unload (panic: __rw_wlock_hard: recursing but non-recursive rw 0xffffffff81cd6e60 @ /.../sys/rpc/clnt_nl.c:467)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 Nov 2025 01:30:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291249

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=6901376f59b870ddbb0d922e3455a388333cd460

commit 6901376f59b870ddbb0d922e3455a388333cd460
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-11-27 16:44:08 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-11-28 01:29:55 +0000

    kgssapi: Remove broken MOD_UNLOAD code

    The module panicked at unload with "recursing but non-recursive rw".
    There is a comment that "Unloading of the kgssapi module is not
    currently supported" and the MOD_UNLOAD case falls through to returning
    EOPNOTSUPP anyway.  Just #if 0 the code in the unload path, leaving it
    as a hint in case someone implements unload support later on.

    PR:             291249
    Reviewed by:    rmacklem
    Fixes: ad704a34bc2c ("Use syscall_helper_register(9) rather than
syscall_register().")
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D53949

 sys/kgssapi/gss_impl.c | 4 ++++
 1 file changed, 4 insertions(+)

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