Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178043956
D42530.1795836476.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
398 B
Referenced Files
None
Subscribers
None
D42530.1795836476.diff
View Options
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c
--- a/sys/kern/kern_linker.c
+++ b/sys/kern/kern_linker.c
@@ -1862,6 +1862,9 @@
sx_xlock(&kld_sx);
TAILQ_FOREACH_SAFE(lf, &linker_files, link, nlf) {
+ if (lf == linker_kernel_file)
+ continue;
+
/*
* If all of the modules in this file failed to load, unload
* the file and return an error of ENOEXEC. (Parity with
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 28, 3:27 AM (13 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42056252
Default Alt Text
D42530.1795836476.diff (398 B)
Attached To
Mode
D42530: kern linker: Do not try to unload kernel
Attached
Detach File
Event Timeline