Nicolas Joly <nj...@pasteur.fr> wrote: > > njoly@lanfeust [/misc/crash]> crash -M netbsd.17.core -N netbsd.17 > Crash version 6.99.42,image version 6.99.42. > System panicked: kernel diagnostic assertion "KERNEL_LOCKED_P()"failed: > file "/local/src/NetBSD/src/sys/net/if_ethersubr.c", line 214 Backtrace > from time of crash is available.
Fixed. We may start pushing the kernel-lock to the entry points of various subsystems (like Ethernet, in this case), but wrapping attach/detach is more defensive way for now. -- Mindaugas