panic: assertion failed in iflib_txq_drain()

From: Ricardo Branco <rbranco_at_suse.de>
Date: Sat, 18 Apr 2026 09:47:14 UTC
I'm getting this on FreeBSD-kernel-generic 16.snap20260416224424

This is happening as soon as I try to ssh to a GMKTec NucBox G3 Plus 
with Ethernet Controller I226-V.

It also happens when trying to do any TCP connection.  Attached gzipped 
/var/crash/core.txt

panic: Assertion mp != NULL && *mp != NULL failed at 
/home/pkgbuild/worktrees/main/sys/net/iflib.c:3922 cpuid= 3 time 1776500574
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 
0xfffff81078b7450 vpanic at vpanic+0x136/frame 0xfffffe01078b7580
panic
at panic+0x43/frame 0xfffffe01078b75e0
iflib_txq_drain at iflib_txq_drain+0x429/frame 0xfffffe81078b7660 
drain_ring_lockless() at drain_ring_lockless+0x8a/frame 
0xfffffe01078b76b0 ifmp_ring_enqueue() at ifmp_ring_enqueue+0x332/frame 
0xfffffe81078b7700 iflib_if_transmit at iflib_if_transmit+0x273/frame 
0xfffffe01078b7780 ether_output_frame() at ether_output_frame+0xd3/frame 
0xfffffe81078b77b8 ether_output at ether_output+0x71d/frame 
0xfffffe01078b7840 ip_output at ip_output+0x183d/frame 0xfffffe01078b7960
tcp_default_output() at tcp_default_output+0x21d8/frame 
0xfffffe01078b7b30 tcp_usr_send at top_usr_send+0x500/frame 
0xfffffe01078b7be0
sosend_generic locked at sosend_generic_locked+0x59b/frame 
0xfffffe01078b7c98 sosend_generic at sosend_generic+0x61/frame 
0xfffffe81078b7ce0
sousrsendat sousrsend+0x79/frame 0xfffffe01078b7d40
dofilewrite) at dofilewrite+0x81/frame 0xfffffe81078b7d90
sys_write at sys_write+0x127/frame 0xfffffe01078b7e00
amd64_syscall at amd64_syscall+0x169/frame 0xfffffe01078b7f30
fast_syscall_common at fast_syscall_common+0xf8/frame 0xfffffe01078b7f30
syscall (4, FreeBSD ELF64, write), rip = 0x8ea71c6154a, rsp = 
0x8ea6806fb98, rbp = 0x8ea6806fbc0 KDB: enter: panic
[ thread pid 6281 tid 101448 1
Stopped at
db>
kdb_enter+0x33: movq
$0,0x15dd302(rip)



Best,
R