diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2001-10-14 02:56:35 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2001-10-14 02:56:35 +0000 |
commit | 5df2ca0894388a5488a434bff7b3164639270833 (patch) | |
tree | 34a437892e33c8e909f34fa06017e40c3497d617 /regress/usr.bin/m4/esyscmd.out | |
parent | 134ae39aef68b49f3c907e1bad7e2f86fad1779a (diff) |
Andreas Gunnarsson found a bug in iha that causes system crashes
when running a DIAGNOSTIC kernel. This was exposed by the recent
migration of the SCSI layer to use pools.
timeout_del() was being called on de-allocated memory after every
completed SCSI command. Which worked as long as the memory was not
reused or zapped ...
This patch, slightly modified from Andreas's original diff, moves
the timeout_del() to before the call to scsi_done() which
de-allocates the memory holding the timeout. All scb's that start
a timeout go through this logic and have the timeout_del() called.
ok millert@ deraadt@
Diffstat (limited to 'regress/usr.bin/m4/esyscmd.out')
0 files changed, 0 insertions, 0 deletions