summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/crypto/cryptodev.c2
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)