diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2013-04-01 07:58:44 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2013-04-01 07:58:44 +0000 |
commit | 1138cf8831a025ad67ea880c3a500a17d4d71602 (patch) | |
tree | d7297af56352b242d0ba7bbec12bc1eb0179c9c4 /lib/libkvm/kvm_powerpc.c | |
parent | 7d6d67875c95545d78645f664cfd0e356b58a2cc (diff) |
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@
Diffstat (limited to 'lib/libkvm/kvm_powerpc.c')
0 files changed, 0 insertions, 0 deletions