diff options
author | 2009-09-30 19:16:23 +0000 | |
---|---|---|
committer | 2009-09-30 19:16:23 +0000 | |
commit | f328dcd0a2b6bc402a48d7d2d48d1eb5bec52d35 (patch) | |
tree | aadf37511fc1807251a00896ba619739eb2b6511 | |
parent | Fix comments to match reality. (diff) | |
download | wireguard-openbsd-f328dcd0a2b6bc402a48d7d2d48d1eb5bec52d35.tar.xz wireguard-openbsd-f328dcd0a2b6bc402a48d7d2d48d1eb5bec52d35.zip |
Need to scsi_done() before returning COMPLETE for untranslated commands,
such a Test Unit Ready; found the hard way by jbg@, and inexplicably missed
during dlg@ and I audit of hba drivers behaviour.
-rw-r--r-- | sys/dev/ic/cac.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/cac.c b/sys/dev/ic/cac.c index e49457658d0..125c2011f39 100644 --- a/sys/dev/ic/cac.c +++ b/sys/dev/ic/cac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cac.c,v 1.31 2009/09/04 04:57:14 miod Exp $ */ +/* $OpenBSD: cac.c,v 1.32 2009/09/30 19:16:23 miod Exp $ */ /* $NetBSD: cac.c,v 1.15 2000/11/08 19:20:35 ad Exp $ */ /* @@ -743,6 +743,8 @@ cac_scsi_cmd(xs) "tgt %d ", xs->cmd->opcode, target)); xs->error = XS_DRIVER_STUFFUP; } + + scsi_done(xs); splx(s); return (COMPLETE); |