device enc in custom kernel causes crash

From: S. Ross Gohlke <ross_at_bisd.ro>
Date: Sun, 04 Jan 2026 15:58:53 UTC
I built my custom kernel (based on MINIMAL) from CURRENT pkgbase package 
FreeBSD-src.snap20260103091340.

Booting it causes a crash before entering single user mode with error 
message:

panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/netinet/igmp.c:627

After that, the keyboard is unresponsive, so I just power it off.

On the subsequent boot, from a known-good kernel, the laptop powers 
itself off (sorry, I don't yet have a record of this error message).

The next boot from the known-good kernel works as expected.

I have a handful of options and devices enabled in the custom kernel, 
including enc(4).

If I disable "device enc" in the kernel configuration, it boots normally.

Here is a screenshot of the crash: 
https://kiz.li/b/bisd.ro/site/uv/20260104_065705.jpg

Regards,

Ross