diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-05-13 16:16:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-05-13 16:16:23 +0000 |
commit | 7e6847e7aec5bddec977f170bc44a84761c575db (patch) | |
tree | b072c952618630de5f2f2ecb4a652d3272be7650 /sys/crypto | |
parent | b1bcf9ef3aac0903b35c0bea43c06588bf72650f (diff) |
bail out better from tsleep failure
Diffstat (limited to 'sys/crypto')
-rw-r--r-- | sys/crypto/cryptodev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/crypto/cryptodev.c b/sys/crypto/cryptodev.c index 96c80c5eae4..e186b6db72d 100644 --- a/sys/crypto/cryptodev.c +++ b/sys/crypto/cryptodev.c @@ -308,7 +308,7 @@ crypto_op(struct csession *cse, struct crypt_op *cop) error = tsleep(cse, PSOCK, "crydev", 0); if (error) { /// XXX can this happen? if so, how do we recover? - return (error); + goto bail; } if (cse->error) |