CVSROOT: /cvs Module name: src Changes by: [email protected] 2013/04/01 01:58:43
Modified files:
sys/dev : softraid_crypto.c
Log message:
Validate the I/O request when it is first received, rather than waiting
until disk I/O is performed. This avoids doing encryption for a write
that has an invalid I/O request. Additionally sr_crypto_wu_get() can
get the block number from the work unit, instead of decoding the SCSI
command (and failing to handle the invalid case).
ok krw@
