diff options
author | 2001-05-13 16:16:22 +0000 | |
---|---|---|
committer | 2001-05-13 16:16:22 +0000 | |
commit | a54d4658a63762e4e5af0c0ea04a20951a39fd6f (patch) | |
tree | f45fc005c2ace5b6b653a1421fd34763fbc0f682 | |
parent | nearly empty skeleton for crypto.4 (diff) | |
download | wireguard-openbsd-a54d4658a63762e4e5af0c0ea04a20951a39fd6f.tar.xz wireguard-openbsd-a54d4658a63762e4e5af0c0ea04a20951a39fd6f.zip |
bail out better from tsleep failure
-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) |