The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=82dcd3ab12f0e86269bfb02fff4f216bab5e01a0
commit 82dcd3ab12f0e86269bfb02fff4f216bab5e01a0 Author: Ed Maste <[email protected]> AuthorDate: 2026-09-17 14:28:17 +0000 Commit: Ed Maste <[email protected]> CommitDate: 2026-09-20 12:19:27 +0000 vt: Move VWF_GRAPHICS clearing under VT_LOCK Reviewed by: vexeduxr, Quentin Thébault <[email protected]> Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59814 --- sys/dev/vt/vt_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c index 040b8ea52183..0030a3868219 100644 --- a/sys/dev/vt/vt_core.c +++ b/sys/dev/vt/vt_core.c @@ -2939,13 +2939,13 @@ skip_thunk: restore = true; vd->vd_flags |= VDF_INVALID; } + vw->vw_flags &= ~VWF_GRAPHICS; VT_UNLOCK(vd); if (restore) { if (vd->vd_driver->vd_postswitch) vd->vd_driver->vd_postswitch(vd); vt_resume_flush_timer(vw, 0); } - vw->vw_flags &= ~VWF_GRAPHICS; break; } case KD_GRAPHICS:
