git: addb9fa7fced - stable/15 - vt_core: delay the shutdown splash event handler
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Apr 2026 18:55:59 UTC
The branch stable/15 has been updated by vexeduxr:
URL: https://cgit.FreeBSD.org/src/commit/?id=addb9fa7fced43a858a690b12b9274559c47815f
commit addb9fa7fced43a858a690b12b9274559c47815f
Author: Ahmad Khalifa <vexeduxr@FreeBSD.org>
AuthorDate: 2026-04-20 20:11:27 +0000
Commit: Ahmad Khalifa <vexeduxr@FreeBSD.org>
CommitDate: 2026-04-28 16:47:10 +0000
vt_core: delay the shutdown splash event handler
Even though the functions are currently executed in the correct order,
there's no garuntee that this will always be the case.
Reported by: kevans
Discussed with: kevans
Fixes: 4b862c713ac5556ab4bd1828b47c5eb9cb28e067
MFC after: 3 days
(cherry picked from commit e72c59315e7a2bedd654ac7c6e82dd3ceba30ed2)
---
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 ccba43a821d1..33bbe65cb678 100644
--- a/sys/dev/vt/vt_core.c
+++ b/sys/dev/vt/vt_core.c
@@ -3191,7 +3191,7 @@ vt_upgrade(struct vt_device *vd)
vt_window_switch, vw, SHUTDOWN_PRI_DEFAULT);
#ifdef DEV_SPLASH
EVENTHANDLER_REGISTER(shutdown_pre_sync,
- vt_shutdown_splash, vw, SHUTDOWN_PRI_DEFAULT);
+ vt_shutdown_splash, vw, SHUTDOWN_PRI_DEFAULT + 1);
#endif
}
}