OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Thordur I Bjornsson (thibcvs.openbsd.org)
Date: Thu Jul 22 2010 - 09:34:06 CDT


CVSROOT: /cvs
Module name: src
Changes by: thibcvs.openbsd.org 2010/07/22 08:34:06

Modified files:
        sys/dev : vnd.c

Log message:
Instead of trying to biowait on a buf that has errored, do the
right thing, throw it away by marking it as B_INVAL and setting
the B_ERROR flag and b_error to the errno that was returned.

B_RAW doesn't matter there.

Issue report my mlarkin, this diff tested and confirmed to
fix the issue by mlarkin also, thanks!

OK krw, beck, deraadt