CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2024/01/02 09:32:48
Modified files:
sys/conf : GENERIC newvers.sh
sys/dev/dt : dt_dev.c
Log message:
Prevent simultaneous dt(4) open.
Syskaller has hit the assertion "dtlookup(unit) == NULL" by opening
dt(4) device in two parallel threads. Convert kassert into if
condition. Move check that device is not used after sleep points
in malloc. The list dtdev_list is protected by kernel lock which
is released during sleep.
Reported-by: [email protected]
OK miod@