mirror of
https://github.com/opnsense/src.git
synced 2026-02-24 18:30:55 -05:00
vt_fini_logos() calls vtbuf_grow(), which reallocates the console window's buffer using malloc(M_WAITOK). Because vt_fini_logos() is called via a callout, we end up panicking if INVARIANTS is enabled. Fix the problem simply by clearing the logos using a timed taskqueue. taskqueue_thread is formally allowed to sleep; of course, if we actually end up sleeping to satisfy the allocation, then we have bigger problems. PR: 260896 Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33932 |
||
|---|---|---|
| .. | ||
| colors | ||
| font | ||
| hw | ||
| logo | ||
| vt.h | ||
| vt_buf.c | ||
| vt_consolectl.c | ||
| vt_core.c | ||
| vt_cpulogos.c | ||
| vt_font.c | ||
| vt_sysmouse.c | ||