⬢ DragonFlyBSD Kernel Audit
DF-2457 / fix.diff
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
# DF-2457 fix (authored post-verification; not applied to sys/)
--- a/sys/dev/disk/fd/fd.c
+++ b/sys/dev/disk/fd/fd.c
@@ -1087,6 +1087,7 @@ fd_detach(device_t dev)
 	devstat_remove_entry(&fd->device_stats);
 	callout_stop(&fd->toffhandle);
+	callout_stop(&fd->tohandle);
 	callout_stop(&fd->motor);