summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2022-04-01 00:21:19 +0000
committerriastradh <riastradh@NetBSD.org>2022-04-01 00:21:19 +0000
commit7711fbd98321f21e18dd9937dba5dcd2dcf5ff19 (patch)
treed407e65309fc0b4a084cbe7d5a9b7adf5db02573 /sys/dev
parentbdb3b6ca37d582830887d4d7ae28b8f239784159 (diff)
cgd(4): Remove recently added dependency on adiantum.
While this dependency is technically correct, it triggers a problem with module initialization for builtin modules that manifests as an instant crash on boot for x86 (and likely arm) kernels, and that problem is not trivial to solve immediately. See the top of sys/crypto/aes/aes_impl.c for a summary of the problem and why it's tricky. So as a stop-gap measure, we'll remove this dependency for now; we can reinstate it later once the underlying problem with module initialization order is resolved. Reported-by: syzbot+e9b3550af985b6557414@syzkaller.appspotmail.com (actually first reported, to my knowledge, by pgoyette@, but this line tells syzkaller that we fixed the problem)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/cgd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/cgd.c b/sys/dev/cgd.c
index 42c97e3de32..a015c24c9fb 100644
--- a/sys/dev/cgd.c
+++ b/sys/dev/cgd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cgd.c,v 1.143 2022/03/31 19:30:15 pgoyette Exp $ */
+/* $NetBSD: cgd.c,v 1.144 2022/04/01 00:21:19 riastradh Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.143 2022/03/31 19:30:15 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.144 2022/04/01 00:21:19 riastradh Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -1723,7 +1723,7 @@ cgd_selftest(void)
aprint_debug("cgd: self-tests passed\n");
}
-MODULE(MODULE_CLASS_DRIVER, cgd, "adiantum,blowfish,des,dk_subr,bufq_fcfs");
+MODULE(MODULE_CLASS_DRIVER, cgd, "blowfish,des,dk_subr,bufq_fcfs");
#ifdef _MODULE
CFDRIVER_DECL(cgd, DV_DISK, NULL);