[Bug 272089] FreeBSD -CURRENT panic: panic invalid slot (wg(4) related)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Jun 2023 18:22:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272089
Kyle Evans <kevans@freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |emaste@freebsd.org,
| |jhb@FreeBSD.org,
| |kevans@freebsd.org,
| |net@FreeBSD.org
Assignee|net@FreeBSD.org |kevans@freebsd.org
--- Comment #1 from Kyle Evans <kevans@freebsd.org> ---
From the backtrace, it looks like MOD_LOAD is failing and so we MOD_UNLOAD it,
but it's only partially initialized and we aren't expecting that. I suspect we
should just drop all of the free stuff in wg_module_init() and let MOD_UNLOAD
deal with it, though in wg_module_deinit() we also need to avoid calling
osd_jail_deregister() if wg_osd_jail_slot == 0 (i.e. we didn't reach that far
in initialization).
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.