[Bug 293548] kernel panic with tun interfaces

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 06 Mar 2026 02:32:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293548

--- Comment #10 from Zhenlei Huang <zlei@FreeBSD.org> ---
(In reply to Zhenlei Huang from comment #9)
The above patch is not sufficient. tun_destroy() calls if_detach() without
setting if_flags &= ~IFF_UP firstly. In if_detach(), if_down() is called after
NET_EPOCH_WAIT(), but actually it should been before. See also
https://reviews.freebsd.org/D49359 .

-- 
You are receiving this mail because:
You are on the CC list for the bug.